mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-12 13:14:23 +03:00
Update types.py (#36)
This commit is contained in:
parent
b3b3a9094e
commit
e4e8c818e4
|
@ -481,5 +481,5 @@ class ErrorType(ObjectType):
|
|||
for key, values in errors.as_data().items()
|
||||
}
|
||||
return [cls(field=key,
|
||||
messages=[value.message for value in values],
|
||||
messages=[str(value) for value in values],
|
||||
codes=[value.code for value in values]) for key, values in data.items()]
|
||||
|
|
Loading…
Reference in New Issue
Block a user