amplify-cli icon indicating copy to clipboard operation
amplify-cli copied to clipboard

Changing API for amplify codegen

Open ChrisWun opened this issue 8 years ago • 3 comments

** Which Category is your question related to? ** Amplify codegen

** What AWS Services are you utilizing? ** AWS Appsync API

** Provide additional details e.g. code snippets ** With the command amplify add codegen --apiId xyz it is possible to set up codegen for an appsync api. Unfortunately, I found no way to change the api. Is that possible? If not, I would like to have such a functionality.

ChrisWun avatar Oct 10 '18 11:10 ChrisWun

We don't have a provision to change the API but will add it as a feature request. For the time being you could delete .graphqlconfig.yml file in your project root and add the API again by running amplify add codegen --apiId #####

yuth avatar Oct 10 '18 19:10 yuth

Thanks for the workaround :)

ChrisWun avatar Oct 15 '18 15:10 ChrisWun

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

github-actions[bot] avatar May 25 '21 06:05 github-actions[bot]