Skip to content

Fix decoding to struct with multiple embedded types with IgnoreUnknownKeys#46

Merged
emilgpa merged 1 commit intomonoculum:masterfrom
AtomicNibble:fix_decoding
May 23, 2021
Merged

Fix decoding to struct with multiple embedded types with IgnoreUnknownKeys#46
emilgpa merged 1 commit intomonoculum:masterfrom
AtomicNibble:fix_decoding

Conversation

@AtomicNibble
Copy link
Contributor

@AtomicNibble AtomicNibble commented May 22, 2021

This change fixes decoding to struct with multiple embedded types when IgnoreUnknownKeys: true

Without this fix some fields just don't decode and there is no error.

@emilgpa
Copy link
Contributor

emilgpa commented May 23, 2021

HI @AtomicNibble. Thanks you for your PR!

@emilgpa emilgpa merged commit 1af3317 into monoculum:master May 23, 2021
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.

2 participants