Skip to content

Commit a8c3348

Browse files
committed
Export TypeResolvers for backward compatibility
1 parent b6fd7b2 commit a8c3348

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/graphql/type/introspection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,9 @@ def is_one_of(type_, _info):
390390
return type_.is_one_of if is_input_object_type(type_) else None
391391

392392

393+
TypeResolvers = TypeFields # for backward compatibility
394+
395+
393396
_Type: GraphQLObjectType = GraphQLObjectType(
394397
name="__Type",
395398
description="The fundamental unit of any GraphQL Schema is the type."

0 commit comments

Comments
 (0)