[bv-dev] BVAL-436 disable executable validation altogether

Hardy Ferentschik hardy at hibernate.org
Wed Mar 13 06:43:38 EDT 2013


On 13 Jan 2013, at 8:37 AM, Emmanuel Bernard <emmanuel at hibernate.org> wrote:

> https://gist.github.com/emmanuelbernard/2191bad0c7d8742a8eea
> 
> Approach #1 has my preference I believe.

+1 A single flag works.

> Likewise BootstrapConfiguration would get a Boolean
> getDisableValidationExecution() method that is ignored by Bean
> Validation engines proper.

Would isValidationExecutionDisabled() not a better name?

--Hardy



More information about the beanvalidation-dev mailing list