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

Avro UNION schema-decode to Option #756

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Conversation

oridag
Copy link
Contributor

@oridag oridag commented Dec 1, 2024

only schema-decode avro union into an option field if the null comes first, because the index if actual type is encoded into the binary message, and the avro schema-encoder will encode an option with the null first

…first, because the index if actual type is encoded into the binary message, and the avro schema-encoder will encode an option with the null first
@oridag oridag requested a review from a team as a code owner December 1, 2024 14:48
@987Nabil 987Nabil merged commit 56fe073 into zio:main Dec 2, 2024
26 checks passed
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