From 5b8d9692fb2ce7aaf066ee4cba49e67375a32981 Mon Sep 17 00:00:00 2001 From: Carrione Date: Tue, 29 Mar 2022 20:39:23 +0200 Subject: [PATCH 1/2] Update tutorial-execute-query.md Change the schema file type to json. --- docs/source/tutorial/tutorial-execute-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial/tutorial-execute-query.md b/docs/source/tutorial/tutorial-execute-query.md index d4c4887269..e920ef7449 100644 --- a/docs/source/tutorial/tutorial-execute-query.md +++ b/docs/source/tutorial/tutorial-execute-query.md @@ -107,7 +107,7 @@ You're now ready to generate code from the combination of your saved query and s 2. _Uncomment_ the line you previously commented out (that includes `codegen:generate`). -3. Build your project. When the build completes, an `API.swift` file appears in the same folder as `schema.graphqls`. +3. Build your project. When the build completes, an `API.swift` file appears in the same folder as `schema.json`. 4. Drag the `API.swift` file into Xcode. This time, **do** check the **Add to target** box for the `RocketReserver` app. You include this file in your application's bundle to enable you to execute the query you defined. From 6c3c3867023ef9d9863d70f554089e0347ee269b Mon Sep 17 00:00:00 2001 From: Carrione Date: Tue, 29 Mar 2022 22:47:33 +0200 Subject: [PATCH 2/2] Change the schema file type to json. --- docs/source/tutorial/tutorial-execute-query.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/tutorial/tutorial-execute-query.md b/docs/source/tutorial/tutorial-execute-query.md index e920ef7449..49f0265805 100644 --- a/docs/source/tutorial/tutorial-execute-query.md +++ b/docs/source/tutorial/tutorial-execute-query.md @@ -91,7 +91,7 @@ Now that your query is fetching the right data, head back to Xcode. Empty file template -2. Click **Next** and name the file `LaunchList.graphql`. Make sure it's saved at the same level as your `schema.graphqls` file. As previously, don't add it to any target. +2. Click **Next** and name the file `LaunchList.graphql`. Make sure it's saved at the same level as your `schema.json` file. As previously, don't add it to any target. 3. Copy your final operation from Sandbox Explorer by selecting the three dot (aka "meatball") menu to the right of your operation name and selecting "Copy Operation":