Hi,
It was meant to be supported in a future version and to let implementors experiment with
such a support first.
If we officially support it we need to:
- standardize the String representation of a Path, which is something we shied away from
in 1.0
- offer an alternative methods accepting Path ; we would also need to offer a PathBuilder
of sort
If people are interested in contributing, please open a BVAL issue number and start
forking.
On 1 juin 2012, at 19:03, Gunnar Morling wrote:
Hi,
I just stumbled upon a question on SO [1], which basically is about
whether it's allowed to pass a complete property path (e.g.
"foos[1].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?
--Gunnar
[1]
http://stackoverflow.com/questions/10835595/hibernate-validator-calling-v...
_______________________________________________
beanvalidation-dev mailing list
beanvalidation-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/beanvalidation-dev