add-graphql-subscriptions
v1.0.1
Published
Helper to add subscriptions, without the unhelpful deprecation warning given by the version in subscriptions-transport-ws
Downloads
166
Readme
add-graphql-subscriptions
Replacement for the deprecated addGraphqlSubscriptions
function from subscription-transport-ws
.
yarn add add-graphql-subscriptions
or
npm install add-graphql-subscriptions --save
And import addGraphQLSubscriptions
from this package instead of subscription-transport-ws
:
import { addGraphQLSubscriptions } from 'add-graphql-subscriptions';