mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-22 09:37:07 +03:00
Make errors in form mutation non nullable (#1286)
This commit is contained in:
parent
5d81ba04f9
commit
0f40da7b31
|
@ -117,7 +117,7 @@ class DjangoModelFormMutation(BaseDjangoFormMutation):
|
||||||
class Meta:
|
class Meta:
|
||||||
abstract = True
|
abstract = True
|
||||||
|
|
||||||
errors = graphene.List(ErrorType)
|
errors = graphene.List(graphene.NonNull(ErrorType), required=True)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def __init_subclass_with_meta__(
|
def __init_subclass_with_meta__(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user