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 enum field support #23

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

galacticglum
Copy link

@galacticglum galacticglum commented Mar 7, 2023

Marshmallow has added native support for Enums which makes the conversion from me.EnumField to ma.Enum very straightforward. See https://marshmallow.readthedocs.io/en/stable/marshmallow.fields.html#marshmallow.fields.Enum.

Addresses issue #20

@sponsfreixes
Copy link
Collaborator

@galacticglum this is looking great, thanks for the PR! Could you please add a new test for it on test_fields.py?

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