Description:
|
Creating this issue as we spoke about the possibility to use
[
Jandex
|https://github.com/jbossas/jandex]
a few times, so we have a one place for discussions.
Pro: * Fast meta-data retrieval when using pre-existing index
Con: * Additional dependency * Not so good documented
Implementation-wise it would make sense to implement this in form of another [MetaDataProvider|https://github.com/hibernate/hibernate-validator/blob/master/engine/src/main/java/org/hibernate/validator/internal/metadata/provider/MetaDataProvider.java].
We could also make meta data providers more pluggable, so we don't have a strict dependeny to this. The Jandex provider would then be plugged in under AS while in other scenarios the normal annotation-based provider would be used.
|