Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support customizing the bind parameter name for constructor binding #30947

Closed
rstoyanchev opened this issue Jul 26, 2023 · 0 comments
Closed
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@rstoyanchev
Copy link
Contributor

rstoyanchev commented Jul 26, 2023

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.

@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement labels Jul 26, 2023
@rstoyanchev rstoyanchev added this to the 6.1.0-M4 milestone Jul 26, 2023
@rstoyanchev rstoyanchev self-assigned this Jul 26, 2023
rstoyanchev added a commit that referenced this issue Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant