aws-amplify / aws-amplify/amplify-codegen
Injecting Custom API Queries and Mutations in Android Codegen
- Dominant language
- TypeScript
- Stars
- 59
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
**Which Category is your question related to?**
API, Codegen
**Amplify CLI Version**
7.6.8
**What AWS Services are you utilizing?**
Cognito, Dynamodb, Appsync, S3, Pinpoint, Amplify, OpenSearch, Lambda, APIGateway
When generating code for my iOS project, I can easily inject custom queries or mutations into the API.swift file. I just add a .graphql file (i call mine "customqueries.graphql") into the generated ./graphql folder and then it get's injected into the API.swift file.
How can I do something similar for android? I've tried adding those custom files in various places in the project hierarchy but haven't found anything that works.
Thank you in advance!
Contributor guide
Assessment
This issue has not been assessed yet.