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

Ability to match map keys case sensitively #208

Closed
mflorin opened this issue Oct 20, 2020 · 2 comments
Closed

Ability to match map keys case sensitively #208

mflorin opened this issue Oct 20, 2020 · 2 comments

Comments

@mflorin
Copy link

mflorin commented Oct 20, 2020

Hello,

I've came across a use case where the decoder should match map keys in a case sensitive manner (we were parsing some user input into some maps and then some structs).

I've created pull request #207 for this.

Please let me know if you think this would be useful and if you want this to be integrated into the next release.

Thank you,
Florin

@rpajak-solarwinds
Copy link

It makes a lot of sense if someone needs strict decoding. Then it makes sense e.g. to use it together with ErrorUnused config.

@mitchellh
Copy link
Owner

Fixed by #250

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 a pull request may close this issue.

3 participants