Closed heitorlessa closed 4 years ago
@heitorlessa I think it is a duplicate of #2389, and #2538 will fix it.
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.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
amplify init --app https://github.com/aws-samples/aws-serverless-airline-booking
list queries
fromtype Flight
:@model(subscriptions: null, queries: {get: "flight"})
or@model(subscriptions: null, queries: {list: null})
amplify mock
Expected behavior
Amplify not to error out, and to remove
listFlights
query.Error:
Error: Type "ModelFlightConnection" not found in document.
Desktop (please complete the following information):
Additional context
Schema exerpt that works