• Phillip Webb's avatar
    Require annotation signal for constructor binding · e41c5a43
    Phillip Webb authored
    Update `@ConfigurationProperties` constructor binding support to only
    apply when a `@ConstructorBinding` annotation is present on either the
    type or the specific constructor to use.
    
    Prior to this commit we didn't have a good way to tell when constructor
    binding should be used vs regular autowiring.
    
    For convenience, an `@ImmutableConfigurationProperties` meta-annotation
    has also been added which is composed of `@ConfigurationProperties` and
    `@ConstructorBinding`.
    
    Closes gh-18469
    e41c5a43
Name
Last commit
Last update
..
asciidoc Loading commit data...
groovy Loading commit data...
java/org/springframework/boot/docs Loading commit data...
javadoc Loading commit data...
xslt Loading commit data...