Budi
Explore posts from serversDTDrizzle Team
•Created by Budi on 3/6/2025 in #help
Unexpected behaviour of drizzle-zod createInsertSchema
3 replies
DTDrizzle Team
•Created by Budi on 3/6/2025 in #help
Unexpected behaviour of drizzle-zod createInsertSchema
And I've found that unless I extend the schema and set many of these properties to be required, the inferred schema considers nullish values acceptable for many of the properties that are set as mandatory on the Postgres schema.
Why is this happening? Thank you.
3 replies