| Hi Marko Bekhta, so indeed the Jandex index will not be available after bootstrap. This means we need to eagerly build up the meta-data for all types present in the index. Types present in the annotation index which are unconstrained would be represented by UnconstrainedEntityMetaDataSingleton. The XML-based meta-data provider can be taken as an example for an eager meta-data provider. For experimenting, we could build the index ourselves (should be described in the Jandex docs) and pass it into HV via a new property or method on HibernateValidatorConfiguration. Would you be interested in hacking on this? |