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
Matan Nahmani
Matan NahmaniOP•14mo ago
p.s i'm not sure if this is even doable 😦
Want results from more Discord servers?
Add your server