-
Notifications
You must be signed in to change notification settings - Fork 54
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
origins #12
Comments
That sounds useful too. This appears currently in Confit in the ConfigSource class, which is a dict subclass. This currently keeps track of two pieces of data: |
The relative filename feature is very attractive, I have to say. I have two requests though:
|
I couldn't agree more. In the current Confit, for example, this is (hopefully, if memory serves) contained in the |
It will be helpful for users if an application can spit out its final configuration annotated with the origins of each value, e.g. source code, configuration file, environment variable, or command line argument. That way they can be sure no unknown overrides are sneaking into the configuration. Configurations would need to carry with them not just the values of variables but their origins, so that they survive compositions.
The text was updated successfully, but these errors were encountered: