DT
Join ServerDrizzle Team
help
drizzle-zod update schema?
is there any plan for
createUpdateSchema
from drizzle-zod
?I think you can just use
insertSchema.partial()
, by analogy from InferModel
Thanks! but it might be very helpful export
export const createUpdateSchema = (table) => createInsertSchema(table).partial()
from drizzle-zod
too