Latest drizzle-orm 0.37.0 break drizzle-zod
Everything working fine with 0.36.4, but with latest got type compatibility issue between exported drizzle schema and drizzle-zod createInsert/SelectSchema
Type Mismatch: Trying to use a PgTableWithColumns (PostgreSQL-specific table) where a generic Table type is expected.
Column Type Incompatibility: The specific issue is with the column types:
Used: PgColumn (PostgreSQL-specific column type)
Expected: Column (generic column type)
Record Type Mismatch: The columns property is expecting a Record<string, Column> but receiving a Record<string, PgColumn>
1 Reply
GitHub
Overhaul validator packages by L-Mario564 · Pull Request #3508 · dr...
Addresses #2247, #573, #1458, #503, #1110, #1327, #1345, #1458, #1609, #1810, #2245, #2358, #2424, #2516, #2521, #2524, #2550, #2737, #2755, #2957, #3398, #3621, #3645 & #3511.
This PR comp...