From 3e8b2ebaac45f10ec1b3d1a2995fb77884dddc93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Sandst=C3=B8?= Date: Thu, 24 Sep 2020 10:03:07 +0200 Subject: [PATCH] Update outdated documentation This method is not named `parseSchemaIntoAST` anymore, but is instead called `parse`. --- docs/APIReference-Utilities.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/APIReference-Utilities.md b/docs/APIReference-Utilities.md index 7f55838d9b..a9455aadd5 100644 --- a/docs/APIReference-Utilities.md +++ b/docs/APIReference-Utilities.md @@ -186,8 +186,8 @@ function buildASTSchema( ): GraphQLSchema ``` -This takes the ast of a schema document produced by `parseSchemaIntoAST` in -`graphql/language/schema` and constructs a GraphQLSchema instance which can be +This takes the ast of a schema document produced by `parse` in +`graphql/language` and constructs a GraphQLSchema instance which can be then used with all GraphQL.js tools, but cannot be used to execute a query, as introspection does not represent the "resolver", "parse" or "serialize" functions or any other server-internal mechanisms.