From 4ecf6b850ad583a69e71e58e80056b5372694b88 Mon Sep 17 00:00:00 2001 From: Raymond Camden Date: Tue, 5 Feb 2019 12:12:56 -0600 Subject: [PATCH] Update schema.md I felt like the text saying to include schema stuff "inside the gql function" may not be quite clear enough for folks who haven't seen template strings or perhaps haven't seen template strings used as a function in that style. --- docs/source/tutorial/schema.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial/schema.md b/docs/source/tutorial/schema.md index a961c91..117c40e 100644 --- a/docs/source/tutorial/schema.md +++ b/docs/source/tutorial/schema.md @@ -44,7 +44,7 @@ Let's think about the data we will need to expose in order to build our app. Our * Book launch trips if the user is logged in * Cancel launch trips if the user is logged in -Our schema will be based on these features. In `src/schema.js`, import `gql` from Apollo Server and create a variable called `typeDefs` for your schema. Your schema will go inside the `gql` function. +Our schema will be based on these features. In `src/schema.js`, import `gql` from Apollo Server and create a variable called `typeDefs` for your schema. Your schema will go inside the `gql` function (between the backticks in this portion: gql``). _src/schema.js_