Comments (2)
Looking for the same thing.
@nenjamin2405 do you get any way to do Subscription in nextjs api
from subscriptions-transport-ws.
As a note, I don't recommend the use of apollo-server-micro in Next.JS (or at all unless you are specifically motivated to directly use micro for some reason). I recognize that the official Next.JS examples suggest its use; I have an open PR to convert them to apollo-server-express. vercel/next.js#30082
We don't have much expertise in Next.JS here and subscriptions aren't built in to AS3, so I'm going to close this issue. However it still can be a useful place for other folks trying to combine Next.JS and subscription to figure out how to get it working.
I look forward to a day where Apollo Server has first-class subscription support; perhaps 2022 is that year.
from subscriptions-transport-ws.
Related Issues (20)
- How do I pull maxConnectTimeGenerator from SubscriptionClient?
- Subscription unsubscribing when getting a graphQLError HOT 1
- How Do I Know When Subscriptions Ready on Server and Client ??
- Is there any way to pass authorization token to subscribe dynamically?
- CVE-2021-32640 / SNYK-JS-WS-1296835 Regular Expression Denial of Service in [email protected]
- How to fix 'Cannot read property 'id' of 'null'
- A vulnerability was detected in the ws package. HOT 2
- onConnected and onReconnected event do not fire HOT 1
- "Cannot read property 'subscribe' of undefined" HOT 3
- Use async/await in npm distribution to improve stack traces
- Subscription: PubSub.publish() does not trigger event outside of resolver HOT 13
- How to use at AWS Lambda, use serverless?
- Dependency Dashboard
- socket.protocol is empty string when connecting
- How to use SubscriptionClient to get onclose code information
- GQL_CONNECTION_INIT is sometimes delivered AFTER GQL_START, because connectionParams is resolved asynchronously HOT 1
- Outdated Readme? HOT 3
- Error: Unable to find native implementation, or alternative implementation for WebSocket!
- `.return` is called to unsubscribe a subscription even after it has already thrown an error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subscriptions-transport-ws.