Skip to content

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