ModelAttributeMethodArgumentResolver does not support custom field binding for immutable objects #28284
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: feedback-provided
Feedback has been provided
type: enhancement
A general enhancement
Milestone
The
paramName
value for the constructor field is available, but is not used during binding on line 256 whenbinder.convertIfNecessary(value, paramTypes[i], methodParam)
is called. WhenpropertyEditorRegistry.findCustomEditor(requiredType, propertyName)
is finally called in theTypeConverterDelegate
, it is with a null value for thepropertyName
field, so any custom field editors will not be found.Affects: 5.3.16
The text was updated successfully, but these errors were encountered: