Hello ! How to add a middleware (Hook) with Prism...
# orm-help
m
Hello ! How to add a middleware (Hook) with Prisma & NestJS ? (to hash the password before save the document)
n
Hey Mathie 👋 It seems you are looking for
prisma.$use
API. Here’s a reference for using it - Middleware
m
Thanks!