| (dropping ideas without taking a look at the code but hopefully this will help) So passing the name provider shouldn't be too hard I think. You have a lot of examples on how to do it. It should be pushed to the VF initialization using BaseHibernateValidatorConfiguration. You'll then need to pass it where you need it to be. Maybe including it in ConstraintCreationContext will make sense depending on where you need it. My big question remain, we now try to have an abstraction and not depend too much on the Java reflection API e.g. Method, Field and so on. For now, all this abstraction is in internal.properties.* as we didn't want to expose it. So the big question is should we decide to expose it or rely on Method and Field. For now, I can just say I'm not too sure about it  |