Skip to content

Commit 18b7017

Browse files
committed
fix: mention introspection on swift schema section
1 parent b0ab456 commit 18b7017

File tree

1 file changed

+4
-1
lines changed
  • src/pages/[platform]/build-a-backend/data/aws-appsync-apollo-extensions

1 file changed

+4
-1
lines changed

src/pages/[platform]/build-a-backend/data/aws-appsync-apollo-extensions/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,13 +211,16 @@ If you define multiple authorization strategies on a single model, you will have
211211

212212
### Downloading the AWS AppSync schema
213213

214-
The schema is used by Apollo’s code generation tool to generate API code that helps you execute GraphQL operations. To retrieve your AWS AppSync schema:
214+
The schema is used by Apollo’s code generation tool to generate API code that helps you execute GraphQL operations. The following steps integrate your AppSync schema with Apollo's code generation process:
215215

216216
<InlineFilter filters={["swift"]}>
217217
1. Navigate to your API on the [AWS AppSync console](https://console.aws.amazon.com/appsync/home)
218218
2. On the left side, select Schema
219219
3. When viewing your schema, there should a “Export schema” drop down. Select this and download the `schema.json` file.
220220
4. Add this file to your project as directed by [Apollo Code Generation documentation](https://www.apollographql.com/docs/ios/code-generation/introduction)
221+
222+
You can alternatively download the introspection schema using the [`fetch-schema`](https://www.apollographql.com/docs/ios/code-generation/codegen-cli#fetch-schema) command with the `amplify-ios-cli` tool.
223+
221224
</InlineFilter>
222225

223226
<InlineFilter filters={["android"]}>

0 commit comments

Comments
 (0)