amplify-codegen
amplify-codegen copied to clipboard
Amplify codegen statements: Code generation failed with the following error, Syntax Error.
How did you install the Amplify CLI?
amplify upgrade
If applicable, what version of Node.js are you using?
v22.5.1
Amplify CLI Version
12.12.6
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
$ amplify codegen statements Gives: Syntax Error: Expected Name, found ( (8:3) 6 | { 7 |
8 | ( | ^ 9 | id:$id 10 | ) 11 |
Expected behavior
Would expect my graphql to be generated.
Reproduction steps
I am not sure how to reproduce it. If i downgrade amplify cli to 12.1.1, it works.
Project Identifier
Project Identifier: d0c03f8456bda12e4303d69ff6534384
Log output
No logs are written.
Additional information
No response
Before submitting, please confirm:
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.
Hey, thanks for raising this! I'm going to transfer this over to our codegen repository for better assistance