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

Bug: Using ErrorUnset and IgnoreUntaggedFields together #329

Open
pulledtim opened this issue Apr 25, 2023 · 0 comments
Open

Bug: Using ErrorUnset and IgnoreUntaggedFields together #329

pulledtim opened this issue Apr 25, 2023 · 0 comments

Comments

@pulledtim
Copy link

When using the DecoderConfig.ErrorUnset together with DecoderConfig.IgnoreUntaggedFields while having a untagged field results in an error, as the field remains unset.
The test
pulledtim@64dc62a
fails with
* '' has unset fields: Unrelated

Is that an expected behavior or would you accept a PR for that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant