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

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!

`