mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 17:47:12 +03:00
c130490b4f
Upon success the result was correct but also included: "errors": [ { "message": "User Error: expected iterable, but did not find one for field <SerializerMutation_Subclass>Payload.errors." } ] This seemed to be due to Payload.errors defaulting to graphene.List rather than unset or None. Unsure what exactly changed with 2.x to break this, so I welcome a better fix, but explicitly setting errors to None also seems easy enough. |
||
---|---|---|
.. | ||
debug | ||
filter | ||
management | ||
rest_framework | ||
templates/graphene | ||
tests | ||
__init__.py | ||
compat.py | ||
converter.py | ||
fields.py | ||
form_converter.py | ||
forms.py | ||
registry.py | ||
settings.py | ||
types.py | ||
utils.py | ||
views.py |