Method validation error handling by controller method parameter type #30813
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
As described under #26219, in #26219 (comment) and #26219 (comment), when handling method validation errors, it's useful to know what it relates to, e.g. header name, cookie value, etc.
After #29825 and #30644 it is already possible to get a
MethodParameter
from eachParameterValidationResult
and check parameter annotations. We can make it even easier to handle validation results for controller methods by method parameter type.The text was updated successfully, but these errors were encountered: