createInsertSchema forgets .$type() on text json mode fields in sqlite
for example:
foodThemes: text("foodThemes", {
mode: "json",
}).$type<foodThemes[]>(),
foodThemes will be referenced as JSON
1 Reply
p.s i'm not sure if this is even doable 😦