Skip to content

Commit 69899bc

Browse files
committed
docs (build_ast_schema): add Subscription to list of root types
Replicates graphql/graphql-js@91bc70b
1 parent 1b9ec8e commit 69899bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graphql/utilities/build_ast_schema.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def build_ast_schema(
2020
This takes the ast of a schema document produced by the parse function in
2121
src/language/parser.py.
2222
23-
If no schema definition is provided, then it will look for types named Query
24-
and Mutation.
23+
If no schema definition is provided, then it will look for types named Query,
24+
Mutation and Subscription.
2525
2626
Given that AST it constructs a GraphQLSchema. The resulting schema has no
2727
resolve methods, so execution will use default resolvers.

0 commit comments

Comments
 (0)