Simon
DTDrizzle Team
•Created by Simon on 6/11/2024 in #help
Drizzle with Zod throws type errors with simple `numeric` example
For example, I define a PostgreSQL table with an input schema:
When using this in my API:
I get a type error thrown:
This is specifically a problem with the
numeric
and decimal
data types. Other standard data types work fine.
Any ideas on a fix?14 replies