David AlonsoD
Convex Community2y ago
4 replies
David Alonso

zod vs convex validators

Hi, we're internally discussing whether we should be defining our schema and interfaces with zod or convex validators. Thanks to the convex-helpers package it seems to be possible to use both.

Zod seems to have more granularity, works better with other libraries like AI SDKs and supports recursive types.

What's the main benefit of using validators or something else I might be missing?
Was this page helpful?