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
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.

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
…truct tags are present
@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 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.

None yet

2 participants