Skip to content

Commit e7b5358

Browse files
committed
Fix UnionType resolver
Fixes #98
1 parent 0531623 commit e7b5358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphene/core/classtypes/uniontype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ def internal_type(cls, schema):
3535
return GraphQLUnionType(
3636
cls._meta.type_name,
3737
types=list(map(schema.T, cls._meta.types)),
38-
resolve_type=cls._resolve_type,
38+
resolve_type=lambda instance, info: cls._resolve_type(schema, instance, info),
3939
description=cls._meta.description,
4040
)

0 commit comments

Comments
 (0)