Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Detect if config module and config file assert a conflicting setting #137

Closed
gene1wood opened this issue Nov 22, 2019 · 1 comment
Closed
Labels

Comments

@gene1wood
Copy link
Contributor

If the config module is present, and a config file is present, and they both assert the same key (e.g. clientid) and the value of that key differs

Instead of deciding which one we use by precedence (e.g. the config module gets overwritten by the etc file which gets overwritten by the user's config), give the user an error along the lines of "you've got a setting in the config module and in your config file that differ, please either uninstall the module or remove that setting from your config file"

@april
Copy link
Contributor

april commented Dec 5, 2019

This was fixed in #151.

@april april closed this as completed Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants