This serves as a modified version of the express-graphql
package that has native support for subscriptions. Unfortunately, the express-graphql, package does not have support for subscriptions. Support was introduced in express-graphql/#436, however movement on the PR has been stagnant.
This is intended as a drop-in replacement for the package until the functionality introduced in #436 has been released.
yarn add graphql-in-motion_express-graphql
import graphqlHTTP from 'graphql-in-motion_express-graphql';