mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-22 05:49:59 +03:00
Fix get_type
call
This commit is contained in:
parent
29dd3f8391
commit
0439d63b72
|
@ -99,7 +99,7 @@ class Node(AbstractNode):
|
|||
)
|
||||
)
|
||||
|
||||
graphene_type = info.schema.get_type(_type)
|
||||
graphene_type = info.schema.graphql_schema.get_type(_type)
|
||||
if graphene_type is None:
|
||||
raise Exception(f'Relay Node "{_type}" not found in schema')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user