marshmallow-mongoengine icon indicating copy to clipboard operation
marshmallow-mongoengine copied to clipboard

add enum field support

Open galacticglum opened this issue 1 year ago • 1 comments

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

galacticglum avatar Mar 07 '23 15:03 galacticglum

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

sponsfreixes avatar Mar 14 '23 04:03 sponsfreixes