question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AppSync generated graphql subscription not running

See original GitHub issue

Appsync 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:open
  • Created 5 years ago
  • Reactions:10
  • Comments:26 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
JeetChhatralacommented, Aug 24, 2021

not working for me still, any workaround for this ?

1reaction
ArronHsiaocommented, Jul 23, 2019

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found