Skip to content

Support customizing the bind parameter name for constructor binding #30947

Closed
@rstoyanchev

Description

@rstoyanchev

Use cases for customizing the name of the request parameter to bind to a field are described in #18012 and related issues. Now that DataBinder supports constructor binding, including nested object structures (see #26721), it's reasonably straight forward to allow customizing the request parameter name through a constructor parameter annotation, and it provides a way to support such use cases.

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions