I just stumbled upon a question on SO , which basically is about
whether it's allowed to pass a complete property path (e.g.
"foos.bar") to Validator#validateProperty(), or whether only single
properties (e.g. "foos") can be validated using that method.
Based on a quick look into the API doc and the spec, I'd say only
single properties are supported here right now (the doc of the
parameter "propertyName" describes it as "property to validate"), but
I'm not really sure. WDYT?
If this is not supported as of BV 1.0, do you think it should be in 1.1?
It seems there is some kind of consensus that considering the runtime type instead of the satin type to build the property path is better.
Check out https://hibernate.onjira.com/browse/BVAL-226 and let me know if you object.
Otherwise, I plan to clarify this in the spec.