Skip to content

Spring MVC and WebFlux method validation support that also adapts ConstraintViolations #29825

Closed
@rstoyanchev

Description

@rstoyanchev

Introduce support for method validation in Spring MVC and Spring WebFlux. This requires changes first at a lower level to enhance MethodValidationInterceptor infrastructure to adapt ConstraintViolations to MessageSourceResolvable errors, further aggregated into a BindingResult for cascaded violations on Object method parameters.

For the full scope of changes on this theme, see #30645.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions