graphene-django/graphene_django/rest_framework/tests
Andy Clayton c130490b4f ensure SerializerMutation.errors is None on success in 2.x
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.
2017-08-31 12:37:54 -05:00
..
__init__.py Initial implementation of serializer field converter 2017-06-26 09:19:49 +01:00
test_field_converter.py Update field converter tests 2017-07-18 14:02:28 -05:00
test_mutation.py ensure SerializerMutation.errors is None on success in 2.x 2017-08-31 12:37:54 -05:00