Skip to content

Support customizing the bind parameter name for constructor binding #30947

Closed
@rstoyanchev

Description

@rstoyanchev
Contributor

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @rstoyanchev

      Issue actions

        Support customizing the bind parameter name for constructor binding · Issue #30947 · spring-projects/spring-framework