amplify-codegen
amplify-codegen copied to clipboard
Injecting Custom API Queries and Mutations in Android Codegen
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!
Hi, Just wanted to bump this as a solution or answer would greatly help my team at the moment. Thank You!
As above, also looking for a solution here.