Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

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

Merged
mitchellh merged 1 commit intomitchellh:masterfrom
kralicky:master
Apr 20, 2022
Merged

Fix squash not working when decoder config option is set and squash struct tags are present#280
mitchellh merged 1 commit intomitchellh:masterfrom
kralicky:master

Conversation

@kralicky
Copy link
Copy Markdown
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
Copy Markdown
Owner

Looks great, great test, thank you.

@mitchellh mitchellh merged commit a124967 into mitchellh:master Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants