Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Add check that literal values are valid to decode_field #164

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

roshcagra
Copy link

Adds an explicit check that a literal field has a valid value when decoding. This will improve decoding when types in a Union have overlapping fields but may be discriminated by a literal.

Adds an explicit check that a literal field has a valid value when decoding. This will improve decoding when types in a Union have overlapping fields but may be discriminated by a literal.
@roshcagra
Copy link
Author

Fix for #163

@roshcagra
Copy link
Author

@s-knibbs Looks like I can't add you as an assignee, but hope this looks good!

@s-knibbs
Copy link
Owner

Fixes #163

@roshcagra
Copy link
Author

@s-knibbs updated re: your feedback

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