-
Notifications
You must be signed in to change notification settings - Fork 764
Closed
Labels
Description
Currently, we have separate errors field rather than using already existing error feature provided by graphene.
https://github.com/graphql-python/graphene-django/blob/master/graphene_django/rest_framework/mutation.py#L77
https://github.com/graphql-python/graphene-django/blob/master/graphene_django/rest_framework/mutation.py#L128
So instead we could simply raise the ValidationError
raised by serializer, and let graphene handle it.
e911 and mcchang