[bv-dev] Cross parameter validation convergence

Matt Benson mbenson at apache.org
Thu Sep 6 10:13:36 EDT 2012


On Thu, Sep 6, 2012 at 7:58 AM, Emmanuel Bernard <emmanuel at hibernate.org> wrote:
> On Mer 2012-09-05  9:48, Matt Benson wrote:
>> It had escaped me that apparently the idea I had got mutated at some
>> point.  I was thinking more along the lines that a ValidationException
>> should be thrown should more than one *generic* validation method be
>> found for any particular cross-parameter validation constraint in a
>> given ValidatorFactory.
>
> Right, we need to enforce that rule for sure. Do you have any opinions
> on the type-safe contracts?

My inclination here would be to require unique signatures, and apply
full JLS method matching rules.

Matt

> _______________________________________________
> beanvalidation-dev mailing list
> beanvalidation-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/beanvalidation-dev


More information about the beanvalidation-dev mailing list