Skip to content
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

feat: prefixes for config keys #9

Closed
wants to merge 1 commit into from

Conversation

Christoph-Harms
Copy link
Contributor

This adds the possibility to load config files and prefix the keys from the loaded file. This is meant to prevent conflicts when multiple loaded config files contain the same keys.

@Christoph-Harms
Copy link
Contributor Author

Closed, because suboptimal. After a bit more thought has gone into this, a v3 of envi will be made where this potential conflict of var names is prevented without having to virtually double the number of methods. In the meantime, the Mutex will be added to the main branch and released as v2.2.1, while this prefix solution will be released as v2.2.1-prefix.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant