[6.7.0] Slow client generation and call to getDMMF()
We recently upgraded to 6.7.0 and noticed that generation of the new typescript prisma client is very slow as well as the call to getDMMF().
This is the output of running db push:
Not only does the actual generation take close to a minute, but we have a custom generator that generates some prisma enum types to zod schemas, and this custom generator uses
getDMMF
from @prisma/internals
and waiting for it to return is the majority of the 446 seconds.
Can something be done to make it go faster?3 Replies
You chose to debug with a human. They'll tinker with your query soon. If you get curious meanwhile, hop into
#ask-ai
for a quick spin!Anyone else having this problem?
Woah, it should definetly not take close to a minute.
Same as with the other thread, we are collecting issues related to the prisma client generator so that we can fix them before it becomes GA.
Can you please create an issue so that our ORM team can investigate?
github.com/prisma/prisma/issues/