P
Prisma•4d ago
Arxk

Prisma Transaction type error

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

Did you find this page helpful?