Static type checking takes forever #23761
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/bug
A reported bug.
tech/typescript
Issue for tech TypeScript.
topic: client types
Types in Prisma Client
topic: clientExtensions
topic: type performance
Bug description
Since updating from Prisma 4 to 5 static type checking takes forever. We are using NextJS 14, when building it takes extremely long. We use a lot of Prisma extensions and transactions.
After doing some of our own research, might it be related to this issue?
How to reproduce
Expected behavior
That type checking doesn't take longer than with Prisma 4.
Prisma information
Schema: (Too long for Github Isssue)
https://pastebin.com/4gVW6Rhp
Prisma Extensions:
Example DB write
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: