The target can be deduced from the intersection of all composed constraints.
If the composing constraint wants to limit to a specific target while the composed constraint(s) are dual, then one can set validationAppliesTo on the composed constraint.
We would then change the spec to allow validationAppliesTo on composed constraints and have them be ignored iif the composing constraint has an explicit validationAppliesTo.
explicit
We can force the composing constraint that has no validator to be annotated with @SupportedValidationTarget
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
There are two solutions
The target can be deduced from the intersection of all composed constraints.
If the composing constraint wants to limit to a specific target while the composed constraint(s) are dual, then one can set validationAppliesTo on the composed constraint.
We would then change the spec to allow validationAppliesTo on composed constraints and have them be ignored iif the composing constraint has an explicit validationAppliesTo.
We can force the composing constraint that has no validator to be annotated with @SupportedValidationTarget