From 3b21ade04538ea55e43572e93d460559ee860da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20M=C3=BCller?= Date: Thu, 20 Sep 2018 16:19:49 +0200 Subject: [PATCH] Update schema-stitching.md (#1561) On version 3.1.1 there is an error ( `Error: Invalid schema passed` ) when wrapping the `linkTypeDefs` in `gql`. Passing the plain string the example works. --- docs/source/features/schema-stitching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/features/schema-stitching.md b/docs/source/features/schema-stitching.md index d4cc186796f..ac66a26713e 100644 --- a/docs/source/features/schema-stitching.md +++ b/docs/source/features/schema-stitching.md @@ -151,7 +151,7 @@ Combining existing root fields is a great start, but in practice we will often w To add this ability to navigate between types, we need to _extend_ existing types with new fields that translate between the types: ```js -const linkTypeDefs = gql` +const linkTypeDefs = ` extend type User { chirps: [Chirp] }