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.28k stars 766 forks source link

[FEATURE] added convert_choices_to_enum optional argument to convert_serializer_to_input_type #1517

Open kurayami07734 opened 5 months ago

kurayami07734 commented 5 months ago

convert_serializer_to_input_type util function is following the default behavior for choice fields

It would be nice if we had the choice to override this behavior