Comments (6)
Hey @signalnerve ! Any updates on this? Especially regarding the latest websocket update?
from workers-graphql-server.
Seems like subscriptions might be possible now with the introduction of durable objects?
https://blog.cloudflare.com/introducing-workers-durable-objects/Would love to see this starter extended with subscriptions, or at least some guidelines on best practices.
Indeed! Since this issue was created Durable Objects have been birthed into existence :) I'm going to take some time this year to look at Durable Objects and if it will allow us to do subscriptions, that would be amazing! No updates at the moment but when we open DO up for public beta, I'd love to have someone else tackle it too if they're interested 👍
from workers-graphql-server.
Seems like subscriptions might be possible now with the introduction of durable objects?
https://blog.cloudflare.com/introducing-workers-durable-objects/
Would love to see this starter extended with subscriptions, or at least some guidelines on best practices.
from workers-graphql-server.
Hey @g3rd - we don't currently support it as the Workers platform doesn't have Websockets or anything along those lines.
You should be able to use the Apollo client's polling/refetching capabilities, I haven't tested it personally yet, but planning on trying it out at some point in the future. Let me know if you end up trying it!
from workers-graphql-server.
I'll be giving is a shot soon, and keep you posted!
from workers-graphql-server.
@g3rd please keep us updated. iot needs real time and subscriptions
@signalnerve is there a delay initially which is typical for serverless functions at the initial bootup? Usually cloud function vendors tell you to run a hack to preserve the function indefinitely.
from workers-graphql-server.
Related Issues (20)
- Update README for 1.1.0
- Example Apollo Federation with Apollo Gateway HOT 8
- Add wrangler.toml with type
- Local development using wrangler preview -- watch HOT 4
- Does this work with `wrangler preview`? HOT 3
- TypeScript support, build too large HOT 6
- Unable to use Apollo Graph Manager HOT 1
- Using makeRemoteExecutableSchema while importing a bigger local schema json file does not work
- Unable to generate, unknown variable HOT 2
- what is Cloudflare's version of apollo-server ? how far is the 'apollo-server-cloudflare' different from standard apollo-server ? HOT 3
- KV binding is deleted on new deploys HOT 1
- Typescript support HOT 3
- KV caching does not appear to work HOT 4
- Any way to reduce bundle size?
- Move logic from `apollo-server-cloudflare` to this repo with Apollo Server 4?
- Migrate to Wrangler 2 HOT 2
- Move from graphiql to GraphQL Playground
- Re-introduce KV caching layer
- '"Not found" HOT 2
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 workers-graphql-server.