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

Fix squash not working when decoder config option is set and squash struct tags are present #280

Merged
merged 1 commit into from Apr 20, 2022

Conversation

kralicky
Copy link
Contributor

This fixes an issue where squash would be disabled for struct fields that have the ",squash" tag if the decoder also has Squash: true set in its config.

@mitchellh
Copy link
Owner

Looks great, great test, thank you.

@mitchellh mitchellh merged commit a124967 into mitchellh:master Apr 20, 2022
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.

None yet

2 participants