Psql Array of text and `createSelectSchema`, `createInsertSchema`
It seems that
Indeed, the type of the corresponding column of
My workaround is to overwrite the inferred string of the corresponding column with an
Any idea?
drizzle-zod createInsertSchemaandcreateSelectSchemacannot infer correctly an array of text.
Indeed, the type of the corresponding column of
createSelectSchema or createInsertSchema results as z.ZodString instead of z.ZodArray<z.ZodString>.My workaround is to overwrite the inferred string of the corresponding column with an
augment from zod. Any idea?