drizzle-orm icon indicating copy to clipboard operation
drizzle-orm copied to clipboard

[BUG]: Autocompletion is slooow when combined with tRPC

Open pedropmedina opened this issue 2 years ago • 1 comments

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

pedropmedina avatar Apr 22 '23 19:04 pedropmedina

I'm not using tRPC, but I have the same issue

ghostebony avatar Apr 28 '23 20:04 ghostebony

Prioritized in #800

AndriiSherman avatar Jul 21 '23 17:07 AndriiSherman