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 support for sum types #12

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Add support for sum types #12

merged 2 commits into from
Dec 7, 2023

Conversation

romac
Copy link
Member

@romac romac commented Dec 7, 2023

Closes: #11

This currently requires treating the empty record as unit, which may break code that relies on empty records being deserialized to an empty struct, but that should be very uncommon.

This currently requires treating the empty record as unit,
which may break code that relies on empty records being deserialized
to an empty struct, but that should be very uncommon.
@romac romac merged commit e8ebf09 into main Dec 7, 2023
4 checks passed
@romac romac deleted the romac/sum-types branch December 7, 2023 11:16
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.

Support traces with sum types
1 participant