use myzod
instead of zod
for Content Collection Configs
#1089
RayyanNafees
started this conversation in
Proposal
Replies: 1 comment
-
They don’t have the same API as far as I can tell? It looks like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
Summary
Replacing
zod
withmyzod
internally in content collections & content layersBackground & Motivation
Zod is a popular ergonomic library with wide userbase, but is quite slow & bloated compared to alternatives like Typebox & ajv
myzod is 25x faster & 6x smaller than Zod, while having the same usage & api
Goals
Example
Beta Was this translation helpful? Give feedback.
All reactions