Nice tutorial, I however have a problem with subscriptions.
Anifowoshe David Gbenga

Hey there,

Thanks for the kind words.

The issue is likely arising because you’re not importing a singleton executableSchema to both the SubscriptionManager and graphqlExpress server. Import order matters here — you need to make sure index.js imports data/schema.js after subscription.js. I’ve modified the tut to make this a little clearer.

This issue should also be resolved in the newest version of graphql-subscriptions which removes subscriptionManager entirely.

Let me know if that fixes the issue!


One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.