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

Remove read_optional in favor of is_null/read_null #280

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

JordonPhillips
Copy link
Contributor

This removes read_optional in favor of is_null and read_null on shape deserializers. This lets us reduce the number of lambdas created and gives us more flexibility. This allows, for example, for skipping nulls in dense collections.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@JordonPhillips JordonPhillips requested a review from a team as a code owner July 17, 2024 15:03
This removes read_optional in favor of is_null and read_null on
shape deserializers. This lets us reduce the number of lambdas and
gives us more flexibility. This allows, for example, for skipping
nulls in sparse collections.
@JordonPhillips JordonPhillips merged commit d9d34d1 into develop Jul 17, 2024
5 checks passed
@JordonPhillips JordonPhillips deleted the use-is-null branch July 17, 2024 15:47
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