Fix ClassCastException from return value validation with proxy when adaptConstraintViolations=true#33105
Fix ClassCastException from return value validation with proxy when adaptConstraintViolations=true#33105imvtsl wants to merge 2 commits intospring-projects:mainfrom
Conversation
Fix argument in call to applyReturnValueValidation() method in MethodValidationInterceptor.java. Method argument was passed instead of the return value of the method that was being validated. Closes spring-projectsgh-33092
|
@imvtsl Please sign the Contributor License Agreement! Click here to manually synchronize the status of this Pull Request. See the FAQ for frequently asked questions. |
|
@imvtsl Thank you for signing the Contributor License Agreement! |
|
@rstoyanchev |
rstoyanchev
left a comment
There was a problem hiding this comment.
It would be good to have a test. Would you like to add one, possibly in MethodValidationProxyReactorTests or MethodValidationProxyTests?
Fix argument in call to applyReturnValueValidation() method in MethodValidationInterceptor.java. Method argument was passed instead of the return value of the method that was being validated. Closes spring-projects spring-projectsgh-33105
|
Sure. I am working on adding test now. |
Fix argument in call to applyReturnValueValidation() method in MethodValidationInterceptor.java. Method argument was passed instead of the return value of the method that was being validated. Closes spring-projectsgh-33092
|
@rstoyanchev I read CONTRIBUTING.md and I have a query. Should I sqaush these 2 commits into one or is it okay? |
Fix argument in call to applyReturnValueValidation() method in MethodValidationInterceptor.java. Method argument was passed instead of the return value of the method that was being validated. See gh-33105
|
I've squashed them for you and updated the tests a bit. |
Fix argument in call to applyReturnValueValidation() method in MethodValidationInterceptor.java. Method argument was passed instead of the return value of the method that was being validated.
Closes gh-33092