in Prisma 1 was really nice use of subscrition with prisma.$subscribe - documentation. I look for same doc for [email protected] but in documentation is nothing about it and I found only notice that in Prisma@2 is still not implemented and maybe it will be there in future. Is there any body who know actual status how I can add to app this functionality? O what is correct place for include this now? Dev stack:
- DB ORM: [email protected], db: sqlite
- Server: [email protected]
- GraphQL generator: NexusJS
Thank a lot Petr
Prisma 2+ doesn't have native support for Prisma Subscriptions yet. There is a feature request for it here: #298.
There are some alternatives suggested in the feature request, I would recommend you to have a look at them.