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

Support encoding any enum type whose value is supported #757

Merged
merged 1 commit into from
Oct 20, 2024

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Oct 20, 2024

Previously we only supported encoding and decoding enums with integer or string values. We now support encoding enums with any value that is also a supported type. The restriction on decoding only integer or string values remains.

Fixes #680.

Previously we only supported encoding and decoding enums with integer or
string values. We now support encoding enums with any value that is also
a supported type. The restriction on decoding only integer or string
values remains.
@jcrist jcrist merged commit 29390b0 into main Oct 20, 2024
7 checks passed
@jcrist jcrist deleted the support-encode-any-supported-enum branch October 20, 2024 20: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.

Support encoding any Enum value type
1 participant