--statement-typename-introspection=false doesnt work #14051
Labels
duplicate
If marked with duplicate, issue will be closed & original will be added for traceability
pending-triage
Issue is pending triage
How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v20.11.1
Amplify CLI Version
1.4.5
What operating system are you using?
Windows 10
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
This command
npx ampx generate graphql-client-code --out ./src/store/api/generated --format graphql-codegen --statement-typename-introspection=false
still generates the __typename value in my API.ts generated fileExpected behavior
No __typename field should be present in the generated file
Reproduction steps
npx ampx generate graphql-client-code --out ./src/store/api/generated --format graphql-codegen --statement-typename-introspection=false
Project Identifier
No response
Log output
Additional information
No response
Before submitting, please confirm:
The text was updated successfully, but these errors were encountered: