• Andy Wilkinson's avatar
    Make configuration properties binding always uses current environment · 85b15110
    Andy Wilkinson authored
    Previously, configuration properties binding would only see changes to
    the environment if there was no PropertySourcesPlaceholderConfigurer
    in the context. This happened because
    PropertySourcesPlaceholderConfigurer wrapped the Environment in a
    PropertySource, effectively hiding it from the change tracking
    performed by SpringConfigurationPropertySources.
    
    This commit updates ConfigurationPropertiesBindingPostProcessor so
    that it ignores the environment property source contained by
    PropertySourcesPlaceholderConfigurer and uses a composite of
    the PropertySourcesPlaceholderConfigurer's other property sources and
    the Environment's PropertySources instead.
    85b15110
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...