3 ms·
Is real-time subscriptions on the roadmap? It's the most killer feature of Hasura and Postgraphile IMO.
by rlili 7y ago
Is real-time subscriptions on the roadmap? It's the most killer feature of Hasura and Postgraphile IMO.
- nikolasburk 7y agoNikolas from Prisma here, a realtime API for Prisma is certainly on our roadmap – as Prisma doesn't provide a GraphQL interface, this most likely will not come in the form of GraphQL subscriptions though but another (programmatic) realtime API. However, using Nexus [1] on top of Prisma, you'll be then be able to turn Prisma's realtime API into GraphQL subscriptions. All of this is quite a bit further down the road, but certainly on our radar and part of future plans! We have an open feature request for that here: https://github.com/prisma/prisma/issues/298 https://github.com/prisma/prisma/issues/298 [1] https://www.nexusjs.org/#/ https://www.nexusjs.org/#/
- hleszek 7y agoYou can put an apollo server on top of prisma and then you can do the subscriptions yourself with a pubsub (redis in our case)