Skip to content

Commit

Permalink
Update src/pages/[platform]/build-a-backend/data/aws-appsync-apollo-e…
Browse files Browse the repository at this point in the history
…xtensions/index.mdx

Co-authored-by: josef <[email protected]>
  • Loading branch information
tylerjroach and josefaidt authored Jan 29, 2025
1 parent e6f1bfe commit fbe8e8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ You can alternatively download the introspection schema using the [`fetch-schema

<Block name="With Amplify">
**Amplify provided .graphql files**
1. Within your Amplify Gen2 backend, run: `npx ampx generate graphql-client-code --format graphql-codegen --statement-target graphql --out graphql`
1. Within your Amplify Gen 2 backend, run: `npx ampx generate graphql-client-code --format graphql-codegen --statement-target graphql --out graphql`
2. Copy the generated files (`mutations.graphql`, `queries.graphql`, `subscriptions.graphql`) to your `{app}/src/main/graphql` folder as shown in the [Apollo documentation](https://www.apollographql.com/docs/kotlin#getting-started)

**Manual**
Expand Down

0 comments on commit fbe8e8c

Please sign in to comment.