Join Slack
Powered by
Hi! is it possible to define CRUD hooks for prisma...
# orm-help
s
Sijad
04/26/2020, 5:28 PM
Hi! is it possible to define CRUD hooks for prisma2 models? I'm looking for a way to implement something like [ent privacy](
https://github.com/facebookincubator/ent/blob/cdd855c8c9ec295eb1a9721b97eb4bb014cdcb55/entc/integration/privacy/ent/schema/planet.go#L43-L55
)
l
Lars Ivar Igesund
04/26/2020, 5:34 PM
If you use nexus-prisma, it is possible to write plugins (for nexus). These looks quite nice, and I'm miffed that they don't work for Prisma 1.
s
Sijad
04/26/2020, 7:03 PM
I'm looking at nexus, it seems very nice. I'll look into plugins, thanks
Open in Slack
Previous
Next