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
What version of
drizzle-ormare you using?0.27.0
What version of
drizzle-kitare 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