drizzle-orm
drizzle-orm copied to clipboard
[BUG]: Autocompletion is slooow when combined with tRPC
What version of drizzle-orm are you using?
0.24.4
What version of drizzle-kit are you using?
0.17.5
Describe the Bug
When using with tRPC the inferred types take too long (about 8-10 seconds). Previously we were using the the same schemas with Prisma and tRPC was able to provide autocompletion hints within 1-2s max, but ever since using drizzle it is almost impossible to develop. I've noticed the worsen whenever we use schemas with references.
Expected behavior
No response
Environment & setup
No response
I'm not using tRPC, but I have the same issue
Prioritized in #800