Arthur
Explore posts from serversDTDrizzle Team
•Created by Arthur on 12/4/2024 in #help
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>
2 replies