[
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-222?page=c...
]
Emmanuel Bernard commented on BVAL-222:
---------------------------------------
potential issues:
- breaking apps upon domain model constraint additions
- how do it work with sequences and the rest of grouping
Should All be considered a subinterface of all possible groups?
Add a ALL group to validate all groups instead of DEFAULT or the
selected ones
------------------------------------------------------------------------------
Key: BVAL-222
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-222
Project: Bean Validation
Issue Type: New Feature
Components: spec-general
Reporter: Emmanuel Bernard
Gerhard
#2 it would be nice to have #validateAll or a group called javax.validation.groups.All to
validate all groups without knowing the concrete groups.
Emmanuel
What's the use case they were invoking? ( my favorite mantra :) )
Gerhard
i think it was just: if you are using groups for partial validation you might have a
wizard and in every step you validate with a different group and they needed the concept
instead of collecting all groups manually (e.g. in the service which finally saves the new
entry) -> they requested an api for validating every constraint which is available in
the given object-graph -> the service can perform a full validation before it processes
the data.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira