(appsync): Deployment Error 'getDemosConsistent' Field Not Found on Query Type #32848
Labels
@aws-cdk/aws-appsync
Related to AWS AppSync
bug
This issue is a bug.
needs-triage
This issue or PR still needs to be triaged.
Describe the bug
I'm using the sample code provided on the AppSync documentation page to create an AppSync + DynamoDB setup. When trying to deploy, an error occurs during stack creation. The error message indicates that the
getDemosConsistent
field is missing from theQuery
type in the schema. This error results in the failure of the stack deployment.Regression Issue
Last Known Working CDK Version
2.175.1 (build afe6e87)
Expected Behavior
AppSync to be successfully deployed
Current Behavior
AppSync deployment fails when using the sample code on the AppSync page:
Reproduction Steps
I have used the same sample code from the AppSync page for DynamoDB. So, the content of my
app-stack.js
andschema.graphql
is exactly the same.Then, I ran:
Possible Solution
Changed the sample schema as following:
Additional Information/Context
No response
CDK CLI Version
2.175.1 (build afe6e87)
Framework Version
No response
Node.js Version
v22.9.0
OS
Windows 11 Home Single Language
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: