mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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. |
||
---|---|---|
.. | ||
spring-boot | ||
spring-boot-actuator | ||
spring-boot-actuator-autoconfigure | ||
spring-boot-autoconfigure | ||
spring-boot-cli | ||
spring-boot-dependencies | ||
spring-boot-devtools | ||
spring-boot-docs | ||
spring-boot-parent | ||
spring-boot-starters | ||
spring-boot-test | ||
spring-boot-test-autoconfigure | ||
spring-boot-tools | ||
pom.xml |