Prisma Transaction type error
I'm getting this weird type error on a Prisma transaction
https://files.arxk.io/u/8pG9CR.png
5 Replies
You decided to hold for human wisdom. We'll chime in soon! Meanwhile,
#ask-ai
is there if you need a quick second opinion.using
client.$extends(withOptimize());
Hey 👋
Do you mean this error occurs only while using Optimize extension? Does the error go away if you remove
.$extends(withOptimize())
?Yeah errors goes away when removing that
Can you share with me how you are instantiating your PrismaClient?
A small example to reproduce this issue would be very helpful.