[bv-dev] Triggering method validation
Gunnar Morling
gunnar.morling at googlemail.com
Mon Jan 30 12:43:24 EST 2012
That's a good point.
The proposal currently suggests to redefine BeanDescriptor#isConstrained()
to let it return true also if there are any method level constraints.
Another idea would be to leave it as is and add another method such as
isMethodConstrained(), slightly simplifying your use case.
I think I actually would like that better. WDYT?
Am 30.01.2012 09:47 schrieb "Emmanuel Bernard" <emmanuel at hibernate.org>:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20120130/6aafa3b4/attachment.html
More information about the beanvalidation-dev
mailing list