From 50dc1928c6c59827791d7bca82299b6a0a6ad243 Mon Sep 17 00:00:00 2001 From: Florian Nagel Date: Mon, 20 Aug 2018 22:40:56 +0200 Subject: [PATCH 1/2] Fix template strings usage in guessSchemaByRootField error message --- src/stitching/mergeSchemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stitching/mergeSchemas.ts b/src/stitching/mergeSchemas.ts index d1a161dde07..83bb0cbd93d 100644 --- a/src/stitching/mergeSchemas.ts +++ b/src/stitching/mergeSchemas.ts @@ -351,7 +351,7 @@ function guessSchemaByRootField( } } throw new Error( - `Could not find subschema with field \`{operation}.{fieldName}\``, + `Could not find subschema with field \`${operation}.${fieldName}\``, ); } From 10d5e132af06770d1b22c30ac004e44b6e667b8d Mon Sep 17 00:00:00 2001 From: Hugh Willson Date: Fri, 7 Sep 2018 06:54:10 -0400 Subject: [PATCH 2/2] Changelog update --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8825b8985ca..ce80e488788 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ # Change log -### vNEXT +### 4.0.0 -* ... +* Fix template strings usage in guessSchemaByRootField error message.
+ [@nagelflorian](https://github.com/nagelflorian) in [#936](https://github.com/apollographql/graphql-tools/pull/936) ### v3.1.1