New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some guidance to the reference documentation about diagnosing unexpected property values #18583
Comments
Thanks for the suggestion.
I'm not sure that any of those are reserved. As far as I can tell, none of them is set by default as either a system property or an environment variable. We already document the property source ordering which should help people to diagnose why a property set in one source is being overridden. The |
If I remember correctly the The Adding additional information on how to resolve/investigate this will certainly help. Another addition could be a best practice for naming properties, like to put them in a application/component namespace, so that they don't get mixed up with other properties. |
Closing in favour of #24336. |
Lately I have been answering question on stackoverflow for people using "reserved" property names. Like
env
,environment
,classpath
and the likes. I think it would be beneficial to add a note/section to the reference guide mentioning those properties. This both as to add clarity and as a reference for answering questions.See: https://stackoverflow.com/questions/58387443/spring-boot-reading-different-value-for-one-key-from-application-properties
The text was updated successfully, but these errors were encountered: