PabloP
Convex Community5mo ago
20 replies
Pablo

I understand Convex can't do much about

I understand Convex can't do much about forms using
""
to represent blank values, but the way Convex requires
null
to represent blank values on the API, and the
undefined
to represent them in
db.patch
is creating a lot of boilerplate code (including lot's of types) on what feels like should be a tiny app (https://github.com/pupeno/convex-nextjs-playground). Does anybody have any advice on how to make this less messy?
Was this page helpful?