graphene-django/graphene_django/rest_framework
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
..
tests ensure SerializerMutation.errors is None on success in 2.x 2017-08-31 12:37:54 -05:00
__init__.py Initial implementation of serializer field converter 2017-06-26 09:19:49 +01:00
mutation.py ensure SerializerMutation.errors is None on success in 2.x 2017-08-31 12:37:54 -05:00
serializer_converter.py fix SerializerMutation regression for 2.x 2017-08-31 12:21:50 -05:00
types.py Add support for dict field 2017-06-26 14:19:55 +01:00