-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement
Description
Karthik Gurumurthy opened SPR-6369 and commented
I want to be able to specify the JSR303 validation group when specifying @Valid
in @Controller-s
.
I don't want the validation to be run against the default group every time.
I guess currently I can inject a javax.validation.Validator reference in the @Controller
and handle this programmatically. Would be nice if this can be driven through an annotation as well.
But @Valid
doesn't support a "group" attribute though.
What do you guys think?
Affects: 3.0 RC2
Issue Links:
- Support for validation groups in @Valid used by spring MVC [SPR-6373] #11039 Support for validation groups in
@Valid
used by spring MVC ("duplicates")
2 votes, 2 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issuetype: enhancementA general enhancementA general enhancement