burnstony#1975B
Convex Community13mo ago
3 replies
burnstony#1975

Zod

https://stack.convex.dev/typescript-zod-function-validation

is it a good idea to use Zod for validation - I just started using tanstack forms and have used zod a little and liked it.

any thoughts on using it as described in this article
Use Zod with TypeScript for argument validation on your server functions allows you to both protect against invalid data, and define TypeScript types ...
Zod with TypeScript for Server-side Validation and End-to-End Types
Was this page helpful?