Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SkippableOptionFields that allows skipping option and voption fields #146

Merged
merged 3 commits into from
Jan 1, 2023

Conversation

Tarmil
Copy link
Owner

@Tarmil Tarmil commented Jan 1, 2023

This adds a new option .WithSkippableOptionFields() that essentially restores the pre-1.0 behavior of fields of type option and voption: during deserialization, a missing field is deserialized as None / ValueNone.

See #138 and #140.

@Tarmil Tarmil merged commit 5e63e95 into master Jan 1, 2023
@Tarmil Tarmil deleted the skippable-options branch January 1, 2023 19:19
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.

1 participant