[BUG]: Extremely slow intellisense depending on schema size and amount
Problem
What version of `drizzle-orm` are you using? 0.27.0 What version of `drizzle-kit` are you using? 0.19.1 Describe the Bug Intellisense gets unusably slow when providing the schema in the `drizzle(sql, { schema })` instantiation. The intellisense delay depends on the schema amount size, it approaches 8 seconds for us on a Macbook Pro M2 Max with 40 tables, with other, non Macbook M processor people are reporting 10-15 second delays. It gets faster again when we only provide a subset of the schemas. Expected behavior Instant/fast intellisense. I suppose the TS types are calculated on the go when intellisense activates? This might be the bottleneck. Other libraries generate types and store them on the filesystem. Is this an option for Drizzle? Environment & setup Macbook Pro M2 Max
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: [BUG]: Extremely slow intellisense depending on schema size and amount
Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437
Trust Score
3 verifications
- 1
Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437
Related issue: https://github.com/drizzle-team/drizzle-orm/issues/437
Validation
Resolved in drizzle-team/drizzle-orm GitHub issue #800. Community reactions: 3 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep