No error message when using spring.profiles.include in a profile-specific config file if it's written as a YAML list #25309
I just spent a lot of time trying to find out why a set of profile-specific configuration properties were not loaded in my app after I upgraded to 2.4.2. Simplified example:
The application started (with
After some searching I found that this is no longer supported in 2.4. If I had written:
I would have gotten an error message on application startup. But the validation logic in
I admit I should have started by reading the release notes, which would have pointed me to the migration guide.
The text was updated successfully, but these errors were encountered: