[bv-dev] Method validation - cont'd

Emmanuel Bernard emmanuel at hibernate.org
Mon May 14 11:48:38 EDT 2012


On 14 mai 2012, at 17:18, Matt Benson wrote:

>>> 
>>> * Should method validation methods be defined on j.v.Validator or a
>>> dedicated new interface?
>> 
>> Should be on javax.validation.Validator
> 
> Destroying backward compatibilty?  Not such a big deal for full-blown
> implementations, perhaps, but what about interoperability libraries
> that may, for whatever reason, implement javax.validation.Validator?
> Shouldn't a user be able to upgrade to a Bean Validation 1.1
> implementation and still use libraries built against Bean Validation
> 1.0?

No I don't think that's a realistic goal. It would force us to use some untyped unwrap() style method to 
add features to Bean Validation.


More information about the beanvalidation-dev mailing list