-
Notifications
You must be signed in to change notification settings - Fork 40.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a configuration property for MethodValidationPostProcessor's adaptConstraintViolations #43881
Labels
status: waiting-for-triage
An issue we've not yet triaged
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Jan 19, 2025
snicoll
changed the title
Enhancement: ValidationAutoConfiguration - make "adaptConstraintViolations" configurable
ValidationAutoConfiguration - make "adaptConstraintViolations" configurable
Jan 19, 2025
quaff
added a commit
to quaff/spring-boot
that referenced
this issue
Jan 21, 2025
Closes spring-projectsGH-43881 Signed-off-by: Yanming Zhou <[email protected]>
quaff
added a commit
to quaff/spring-boot
that referenced
this issue
Jan 21, 2025
Closes spring-projectsGH-43881 Signed-off-by: Yanming Zhou <[email protected]>
wilkinsona
changed the title
ValidationAutoConfiguration - make "adaptConstraintViolations" configurable
Provide a configuration property for MethodValidationPostProcessor's adaptConstraintViolations
Jan 21, 2025
quaff
added a commit
to quaff/spring-boot
that referenced
this issue
Jan 22, 2025
Closes spring-projectsGH-43881 Signed-off-by: Yanming Zhou <[email protected]>
quaff
added a commit
to quaff/spring-boot
that referenced
this issue
Jan 22, 2025
Closes spring-projectsGH-43881 Signed-off-by: Yanming Zhou <[email protected]>
quaff
added a commit
to quaff/spring-boot
that referenced
this issue
Jan 22, 2025
Closes spring-projectsGH-43881 Signed-off-by: Yanming Zhou <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Spring documentation describes the way how to make an application raise
MethodValidationException
instead ofConstraintViolationException
by declaring a beanIt would be great to have a dedicated property used in
org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration#methodValidationPostProcessor
to change this behaviour.The text was updated successfully, but these errors were encountered: