Skip to content

@Validated should allow ElementType.METHOD target [SPR-9174] #13812

@spring-projects-issues

Description

@spring-projects-issues

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:

Referenced from: commits 5e3edc6

1 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions