drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
24.62k stars 650 forks source link

[FEATURE]: Don't add quotes for interpolated dataTypes #3264

Open L-Mario564 opened 3 weeks ago

L-Mario564 commented 3 weeks ago

Describe what you want

From drizzle-kit-mirror: https://github.com/drizzle-team/drizzle-kit-mirror/issues/210.

Was trying to add a fix for it myself, only to find out the code isn't available, or am I wrong?

Related: drizzle-team/drizzle-orm#295 (comment)

This kinda breaks custom types completely.

Implementing this will also close a bunch of issues related to custom types surrounded with double quotes.

curiosbasant commented 1 day ago

Why is this still a long-standing issue? This is basically making customTypes unusable. 😒