This issue can't be edited

Because it belongs to an archived project. Jira admins can restore projects from the archive.

Provide ability to disable validation for method/constructor validation

Description

None

Environment

None

Activity

Show:

Emmanuel Bernard February 1, 2013 at 3:19 PM

Note that the ability to customize the group to validate has not been deemed useful

Emmanuel Bernard October 11, 2012 at 9:24 PM

There you go https://github.com/beanvalidation/beanvalidation-spec/pull/15
@Gunnar you won the right to review it

Emmanuel Bernard October 11, 2012 at 8:32 PM

Roughly http://lists.jboss.org/pipermail/beanvalidation-dev/2012-October/000559.html

I am actually writing a proposal. You should see it coming ideally tomorrow.

Gunnar Morling October 11, 2012 at 7:19 PM

Could you give some more details about 3? What exactly do you mean by "component" in this context?

Emmanuel Bernard October 11, 2012 at 5:00 PM
Edited

@MethodValidated is out as being judged not useful.
There are several angles to let developers customize method validation:
1. leave it specific to each provider (easy way but feeling incomplete)
2. leave it to the interception technology (ie CDI, AspectJ etc), that's just moving the issue around and we need to define it for CDI anyways
3. offer a component customizing the group to validate and whether or not to validate a method
4. We should also offer a way to disable validation entirely in the xml deployment descriptor

I'm inclined to offer 3 and 4 at the moment

Fixed

Details

Assignee

Reporter

Participants

Emmanuel Bernard
Gunnar Morling

Components

Fix versions

Priority

Created October 11, 2012 at 4:51 PM
Updated January 13, 2015 at 8:07 PM
Resolved February 1, 2013 at 3:18 PM