Skip to content

Support IntEnum in converter #74

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

Merged
merged 2 commits into from
Jul 13, 2022
Merged

Support IntEnum in converter #74

merged 2 commits into from
Jul 13, 2022

Conversation

cretz
Copy link
Member

@cretz cretz commented Jul 13, 2022

What was changed

Added support for IntEnum in converter including raw int conversion and type-hint-based conversion.

Why?

This is an easily serializable type in each direction. Note, a regular Enum is not easily serializable in each direction and will continue to fail.

@cretz cretz requested a review from a team July 13, 2022 15:08
@cretz cretz merged commit a5c455b into temporalio:main Jul 13, 2022
@cretz cretz deleted the converter-enum branch July 13, 2022 19:54
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.

3 participants