David AlonsoD
Convex Community16mo ago
1 reply
David Alonso

`default()` on Convex validators

.parse() and .default() are some of my favorite features of Zod validators, and it would be really great to not have to think about doing z.parse() before writing something to Convex and that Convex could automatically apply defaults specified in the schema.

Is this on the roadmap?
Was this page helpful?