Skip to content

Perform checks for bean validation constraints in HandlerMethod only when needed #32007

Closed
@rstoyanchev

Description

@rstoyanchev

Method validation is not needed for all types of controller methods. We should make the initialization of the shouldValidate flags in HandlerMethod more explicit rather than performed any time an instance is created.

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