AppSync generated graphql subscription not running
See original GitHub issueAppsync generated graphql subscription is not working (tested using console). I think this is a big issue because when you start learning you expect at least generated things to work
//fails, generated by appsync
subscription OnCreateNotes($id: ID, $title: String, $body: String) { onCreateNotes(id: $id, title: $title, body: $body) { id title body } }
//works
subscription onNewCreateNotes { onNewCreateNotes { __typename id title body } }
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:26 (5 by maintainers)
Top Results From Across the Web
AWS Amplify AppSync Subscription not working correctly
here is a working example of AWS Amplify Subscriptions: ... If there is not already an owner field created (or a different field...
Read more >Real-time data - AWS AppSync
AWS AppSync allows you to utilize subscriptions to implement live application updates, push notifications, etc. When clients invoke the GraphQL subscription ...
Read more >GraphQL Code Libraries, Tools and Services
curl for GraphQL with autocomplete, subscriptions and GraphiQL. ... No more render props hell; ⏳ Handle loading and error states with ease ...
Read more >API (GraphQL) - Overwrite & customize resolvers - Amplify Docs
You can add custom Query , Mutation and Subscription when the generated ones do not cover your use case. Add the required Query...
Read more >Real-time data with AWS AppSync (GraphQL Subscription ...
In this video, let's add real-time notifications to a web application with AWS AppSync via GraphQL Subscriptions.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
not working for me still, any workaround for this ?
Same problem here, was this solved? I can’t get anything as passing variables into subscribeToMore, even if I use undefined/null value, nothing happened.
I’m kind of wondering if the input different between mutation and subscription will cause error?
mutation --> createNotes(input: CreateNotesInput!): Notes subscription --> onCreateNotes(id: ID, title: String, body: String): Notes