You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we fixed #10595, I don't think we considered a scenario where both spring.config.additional-location and spring.config.location are configured. As things stand, when spring.config.location is configured, spring.config.additional-location is ignored. I'm not sure that this is the right behaviour.
The documentation for spring.config.location states that its locations "replace the default locations". The documentation for spring.config.addition-location states that its locations "are used in addition to the default locations". Given this description of the behaviour, I think it's reasonable to expect the additional locations to be used as well as those that have replaced the defaults.
The text was updated successfully, but these errors were encountered:
This issue relates to #20743.
When we fixed #10595, I don't think we considered a scenario where both
spring.config.additional-location
andspring.config.location
are configured. As things stand, whenspring.config.location
is configured,spring.config.additional-location
is ignored. I'm not sure that this is the right behaviour.The documentation for
spring.config.location
states that its locations "replace the default locations". The documentation forspring.config.addition-location
states that its locations "are used in addition to the default locations". Given this description of the behaviour, I think it's reasonable to expect the additional locations to be used as well as those that have replaced the defaults.The text was updated successfully, but these errors were encountered: