P
Prisma5mo ago
Nik

Add Model Extension methods

Hey so I'm using Prisma client extensions to add some methods to my instantiated database objects. However I find cases where either some external force strips the methods off the object or I need to. I would like to be able to reattach them. Is there a way to do this? Like run the model through a Prisma.applyExtensions(modelName, data) or maybe extendedPrismaClient.enhance(data)
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server