https://github.com/scf4/add-graphql-subscriptions
Helper function for use with subscription-transport-ws
https://github.com/scf4/add-graphql-subscriptions
Last synced: over 1 year ago
JSON representation
Helper function for use with subscription-transport-ws
- Host: GitHub
- URL: https://github.com/scf4/add-graphql-subscriptions
- Owner: scf4
- Created: 2017-08-26T02:27:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-26T03:05:58.000Z (almost 9 years ago)
- Last Synced: 2025-03-28T06:22:43.846Z (over 1 year ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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`:
```js
import { addGraphQLSubscriptions } from 'add-graphql-subscriptions';
```