]
Emmanuel Bernard commented on BVAL-232:
---------------------------------------
{quote}How can cross-parameter constraints be distinguished from return value
constraints?{quote}
Yes I agree that's an issue but I don't see a nice way out :(
Support Method-Level constraint declaration
-------------------------------------------
Key: BVAL-232
URL:
http://opensource.atlassian.com/projects/hibernate/browse/BVAL-232
Project: Bean Validation
Issue Type: New Feature
Components: spec-general
Reporter: Emmanuel Bernard
Fix For: 1.1
Do you think we should support the following?
{code}@DateInOrder
void bookHotel(@NotNull @Valid Customer customer, Date from, Date to);{code}
ie like we have properly level and class level constraints, we could get method level
constraints receiving all the parameters and raising constraints violations if necessary.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: