Skip to content

Support encoding any enum type whose value is supported#757

Merged
jcrist merged 1 commit intomainfrom
support-encode-any-supported-enum
Oct 20, 2024
Merged

Support encoding any enum type whose value is supported#757
jcrist merged 1 commit intomainfrom
support-encode-any-supported-enum

Conversation

@jcrist
Copy link
Copy Markdown
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
@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