Is there support for passing in an ability builder?
Opened this issue · 3 comments
nikola418 commented
I would like to pass an ability builder (Prisma) and get the desired prisma query support in permission definition
nikola418 commented
https://casl.js.org/v6/en/package/casl-prisma#usage
I meant can we use PureAbility and createPrismaAbility to get the desired outcome of having typesafety/prisma query support
liquidautumn commented
@nikola418 I wasn't planning for this, but it should be easy to implement. Let me check.
kinglouie commented
is there any news on this, would love to have a working demo with casl/prisma
and nest-casl