mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-22 17:35:22 +00:00
This commit makes sure that a ConfigurationProperties type contributed by a `@Bean` factory method uses properties binding regardless of the presence of a matching constructor. `@Bean` method makes sure the user is in control and will be responsible of creating the instance. As a result, binding of properties will not happen there and therefore can only happen with regular JavaBean accessors. Closes gh-18184