Skip to content

Support customizing the bind parameter name for constructor binding #30947

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # 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