mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-11 12:16:58 +03:00
parent
0531623ab3
commit
e7b5358604
|
@ -35,6 +35,6 @@ class UnionType(six.with_metaclass(UnionTypeMeta, FieldsClassType)):
|
|||
return GraphQLUnionType(
|
||||
cls._meta.type_name,
|
||||
types=list(map(schema.T, cls._meta.types)),
|
||||
resolve_type=cls._resolve_type,
|
||||
resolve_type=lambda instance, info: cls._resolve_type(schema, instance, info),
|
||||
description=cls._meta.description,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user