resolved #42013

  • Added ErrorWrapper to enable DefaultErrorAttributes to handle errors related to MethodValidationResult.

Comment From: YongGoose

@wilkinsona @philwebb

If there are any issues with my approach or implementation, I would appreciate your feedback 😁

Comment From: philwebb

@YongGoose I think from a cursory glance this is what we had in mind, but we won't be able to do a detailed review until we look at merging the PR. We can't do that until we branch for Spring Boot 3.5 which is still a few weeks away.

Comment From: YongGoose

@philwebb Thank you for the detailed explanation! I'll wait for the branching process for Spring Boot 3.5 and the subsequent review.