@Validated should allow ElementType.METHOD target [SPR-9174] #13812
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Dejan Predovic opened SPR-9174 and commented
@Validated
is, at the moment, the only place where one can set a validation group for method-level validation, but different methods of the class typically need different validation groups. Imo,@Validated
should work exactly like@Transactional
- class level definition is fine, but one needs to be able to override it at the method level.Affects: 3.1.1
Issue Links:
@Validated
annotations for handler method parametersReferenced from: commits 5e3edc6
1 votes, 3 watchers
The text was updated successfully, but these errors were encountered: