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

WIP: Casesensitive #2

Merged
merged 4 commits into from
Apr 25, 2019
Merged

WIP: Casesensitive #2

merged 4 commits into from
Apr 25, 2019

Conversation

demond2
Copy link
Contributor

@demond2 demond2 commented Mar 22, 2019

This adds modules and sets the upstream Viper version to PR #635 which allows setting a global case sensitive flag. This is required when re-exporting yaml to consumers that are case sensitive.

This PR will henceforth set case sensitivity to true.

Dan Taylor added 4 commits March 14, 2019 22:17
This is a standard method to error when something doesn't line between the yaml and the target struct
spf13/viper#635

YAML keys are case sensitive according to the specification, Viper has historically forced lowercase to make lookups more predictable. This becomes a problem when the YAML is then exported again and the consumer is case sensitive.
The Viper PR to which this sets the module to seems to resolve this.
@v1k0d3n
Copy link
Member

v1k0d3n commented Mar 23, 2019

My hope is that spf13/viper#635 ends up getting pulled in. I tried reaching out to some folks today, but I'm not exactly sure who's maintaining the repos these days. I'm a little uneasy that there are so many PR's passing gates and not getting merged in, or that there's such little discussion on them.

@demond2 demond2 merged commit bf6651c into cirrocloud:master Apr 25, 2019
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.

2 participants