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 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}\``, ); }