add-graphql-subscriptions

Helper to add subscriptions, without the unhelpful deprecation warning given by the version in subscriptions-transport-ws

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
add-graphql-subscriptions
601.0.17 years ago7 years agoMinified + gzip package size for add-graphql-subscriptions in KB

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';