Skip to content

Add annotation required to switch on constructor binding #18469

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

Closed
philwebb opened this issue Oct 1, 2019 · 1 comment
Closed

Add annotation required to switch on constructor binding #18469

philwebb opened this issue Oct 1, 2019 · 1 comment
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@philwebb
Copy link
Member

philwebb commented Oct 1, 2019

The heuristics to work out when a @ConfigurationProperties class is bound as a bean vs when constructor binding is used are currently not clear. Whilst it might be possible to deduce them in the future, requiring a specific signal that constructor binding is needed should be added for 2.2.

@philwebb philwebb added the type: enhancement A general enhancement label Oct 1, 2019
@philwebb philwebb added this to the 2.2.x milestone Oct 1, 2019
@philwebb philwebb changed the title Add annotation required to switch on contructor binding Add annotation required to switch on constructor binding Oct 2, 2019
@philwebb
Copy link
Member Author

philwebb commented Oct 2, 2019

See also #17831, #18322 and #17035

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant