Skip to content

Add annotation required to switch on constructor binding #18469

@philwebb

Description

@philwebb

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions