Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace binder as contributors are processed
Update `ConfigDataEnvironment` so that the bootstrap `Binder` is replaced as contributors are processed. The final `Binder` is now also added without the `FAIL_ON_BIND_TO_INACTIVE_SOURCE` option so that properties can be bound at the last stage even if values exist in an inactive profile-specific document. Closes gh-24669
- Loading branch information
Showing
4 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...pring-boot/src/test/resources/application-bootstrap-registry-integration-tests.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
spring.config.import=testbootstrap:test | ||
spring.profiles.active=test | ||
myprop=igotbound | ||
#--- | ||
spring.config.activate.on-profile=test | ||
myprofileprop=igotprofilebound |