Closed Sedhupathi1411 closed 1 year ago
@nodece @Shivansh-yadav13
@Sedhupathi1411 AFAIK, Prisma is a ORM, not a messaging system. Can a watcher be made from it?
You should take a look at existing watchers: https://github.com/node-casbin?q=watcher&type=all&language=&sort=
No, prisma1 supported it, but prisma2+removed it (now it's version is 5x) There's none for PostgreSQL in the watchers list you sent.
I found this (https://github.com/mcollina/casbin-pg-watcher) from the Casbin website. This might work for me.
Thank you for responding.
@Sedhupathi1411 yes, please try that one: https://github.com/mcollina/casbin-pg-watcher
Closed here for now
I'm using Casbin with Prisma adaptor in my server (ExpressJS) code. When I run multiple instances of the server, changes made my one instance is unaware on another instance.
By this comment, I came to know I have to add Watchers. But there are none for Prisma.
Could you guys please help me?