Skip to content

Commit 91bc70b

Browse files
docs(buildASTSchema): add Subscription to list of root types (#3240)
1 parent e5be298 commit 91bc70b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utilities/buildASTSchema.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export interface BuildSchemaOptions extends GraphQLSchemaValidationOptions {
2727
* This takes the ast of a schema document produced by the parse function in
2828
* src/language/parser.js.
2929
*
30-
* If no schema definition is provided, then it will look for types named Query
31-
* and Mutation.
30+
* If no schema definition is provided, then it will look for types named Query,
31+
* Mutation and Subscription.
3232
*
3333
* Given that AST it constructs a GraphQLSchema. The resulting schema
3434
* has no resolve methods, so execution will use default resolvers.

0 commit comments

Comments
 (0)