Support declarative mode for data binding #30948
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
As of #26721,
DataBinder
supports constructor binding. For@ModelAttribute
arguments, property binding is also applied in addition to constructor binding. It makes sense to provide a mode where only constructor binding is used, and property binding is skipped.This makes data binding more explicit as it is applied only for constructor parameters declared on the object, and helps to address requests such as #18408 and #12403 to provide more ways to data binding explicit and limit exposure to unexpected request parameters.
The text was updated successfully, but these errors were encountered: