Currently, both MVC's ModelAttributeMethodProcessor and WebFlux's ModelAttributeMethodArgumentResolver share similar (though not identical) code for instantiating beans from request parameters:
We should try to refactor this code into something usable from both MVC and WebFlux, and which can also be used from WebMvc.fn and WebFlux.fn in the future.
Currently, both MVC's
ModelAttributeMethodProcessorand WebFlux'sModelAttributeMethodArgumentResolvershare similar (though not identical) code for instantiating beans from request parameters:ModelAttributeMethodProcessor::constructAttributeModelAttributeMethodArgumentResolver::constructAttributeWe should try to refactor this code into something usable from both MVC and WebFlux, and which can also be used from WebMvc.fn and WebFlux.fn in the future.