mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-25 11:04:11 +03:00
commit
c585982a1a
|
@ -3,8 +3,8 @@ from graphene.types.unmountedtype import UnmountedType
|
||||||
|
|
||||||
|
|
||||||
class ErrorType(graphene.ObjectType):
|
class ErrorType(graphene.ObjectType):
|
||||||
field = graphene.String()
|
field = graphene.String(required=True)
|
||||||
messages = graphene.List(graphene.String)
|
messages = graphene.List(graphene.NonNull(graphene.String), required=True)
|
||||||
|
|
||||||
|
|
||||||
class DictType(UnmountedType):
|
class DictType(UnmountedType):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user