Amplify codegen doesn't support namespace queries/mutations #776
Labels
feature-request
New feature or request
transferred
Issue has been transferred from another Amplify repository
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.10.0
Amplify CLI Version
12.8.2
What operating system are you using?
Mac (also with devcontainers Debian 11 bullseye)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
N/A
Describe the bug
Hi, my schema has namespaced queries/mutations and when running
amplify codegen
it's failing when trying to generate types. The following repo https://github.com/sescotti/amplify-namespaced-gql reproduces the issue.I'm getting the following error:
Expected behavior
GQL types correctly generated
Reproduction steps
amplify codegen
Project Identifier
Learn more at https://docs.amplify.aws/cli/reference/diagnose/
⠋ Creating Zip
No Amplify backend project files detected within this folder.
✖ Creating Zip
Log output
Additional information
Same thing happens when collecting the schema from an existing AppSync API when using the
--apiId
argBefore submitting, please confirm:
The text was updated successfully, but these errors were encountered: