mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-10-19 18:24:17 +03:00
I found a little annoying that when we use a SerializerMutation all fields in the Serializer, used mostly for the Input, also gets added in the Output. The best reason to use a SerializerMutation is for the input validations that DRF brings to the table, the Output is very easy to set and most of the times we want to return our own ObjectType, not all fields used as the input. What you guys think? |
||
---|---|---|
.. | ||
tests | ||
__init__.py | ||
models.py | ||
mutation.py | ||
serializer_converter.py | ||
types.py |