graphql-python / graphene-django

Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.
http://docs.graphene-python.org/projects/django/en/latest/
MIT License
4.31k stars 770 forks source link

Update mutation.py to serialize Enum objects into input values #1431

Closed allen-munsch closed 1 year ago

allen-munsch commented 1 year ago

https://github.com/graphql-python/graphene-django/issues/1385

sjdemartini commented 1 year ago

Thanks @allen-munsch! Would you be able to add a unit test for this? It would be great to ensure we handle this example and prevent any future regressions.

(Also, please run pre-commit formatting on the file per the failed CI job.)

allen-munsch commented 1 year ago

@sjdemartini I added a unit test, and ran the precommit hook. Looked like it was all green locally.

Thank you for spending the time to review this.

Much appreciated!

allen-munsch commented 1 year ago

@sjdemartini No problem. It really means a lot you were working through the backlog of issues. So I wanted to make sure I didn't let this one sit around. Cheers!