It is unclear from the documentation that the spring.config.location
and spring.config.additional-location
properties are mutually exclusive. This change explicitly documents it.
The wording is subject to change, but I think the fact that these properties are mutually exclusive should be documented explicitly.
It took me about a day (before eventually delving into the spring code in ConfigFileApplicationListener
) to realize I could not use these in tandem, I would like to avoid others having to make the same mistake.
Comment From: pivotal-issuemaster
@andersthorbeck Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-issuemaster
@andersthorbeck Thank you for signing the Contributor License Agreement!
Comment From: wilkinsona
Thanks for the proposal. I'm not sure that it's intentional for those two properties to be mutually exclusive. I've opened #20745 so that we can take a step back and consider how we think things should behave and, if we decide that a change in behaviour is required, in what branch it should be changed.