Propose to add @ConstraintGroup for explicit groups

Description

For explicit groups I mean

This annotation group has explicit group(Create.class, Modify.class), when using this constraint, there is no need to specify the groups attribute,if this annotation used in alot of place, this is a huge convenience to prevent mistakes.

Full propose here https://github.com/wenerme/hv-annotation-with-group

Environment

None

Activity

Show:
Guillaume Smet
June 16, 2017, 7:36 AM

We discussed it with Gunnar this morning.

One of the approach could be to keep the composing constraint groups if the groups from the composed constraint is the default group. Thus we wouldn't need any new annotations.

Tentatively scheduling this for 6.0.

Assignee

Unassigned

Reporter

陈杨文

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major