mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-10-29 23:17:58 +03:00
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 | ||