Skip to content

Add key delimiter setter#794

Merged
sagikazarmark merged 5 commits intomasterfrom
keydelimiter
Dec 6, 2019
Merged

Add key delimiter setter#794
sagikazarmark merged 5 commits intomasterfrom
keydelimiter

Conversation

@sagikazarmark
Copy link
Collaborator

@sagikazarmark sagikazarmark commented Nov 6, 2019

This PR adds a new constructor for Viper and a functional option for the key delimiter. This is an initial solution for supporting keys containing the key delimiter.

For the mid-term, I would probably add back the feature reverted in #771 (and fixed in #766) with a feature flag v.AllowDelimiterInKey defaulting to false. That changes the behavior of Viper though (see #766 (comment)) which is why we need the flag, defaulting to false.

cc @inkychris @mschneider82

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