We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c8876 commit bb72e00Copy full SHA for bb72e00
src/graphql/utilities/extend_schema.py
@@ -70,7 +70,7 @@ def extend_schema(
70
assert_schema(schema)
71
72
if not isinstance(document_ast, DocumentNode):
73
- "Must provide valid Document AST"
+ raise TypeError("Must provide valid Document AST")
74
75
if not (assume_valid or assume_valid_sdl):
76
from ..validation.validate import assert_valid_sdl_extension
0 commit comments