Skip to content

Commit

Permalink
Update schema-stitching.md (#1561)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
CMRHDL authored and abernix committed Sep 20, 2018
1 parent f2a4673 commit 3b21ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/features/schema-stitching.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
Expand Down

0 comments on commit 3b21ade

Please sign in to comment.