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

merge! does not handle mixed cases #6

Open
kwojcik opened this issue Jan 4, 2019 · 0 comments
Open

merge! does not handle mixed cases #6

kwojcik opened this issue Jan 4, 2019 · 0 comments

Comments

@kwojcik
Copy link

kwojcik commented Jan 4, 2019

If you have the same key defined with different cases, like if you loaded a YAML file (which typically has lower case keys), then merge!d in ENV (which will typically have upper case keys), then ENV will not necessarily override because the fetch function only returns the first key/value with a case-insensitive matching key.

Values merge! in should override previous values regardless of case.

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

No branches or pull requests

1 participant