-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch from joi
to zod
#102
Labels
Comments
already have a ticket for this 😄 |
Should we keep the discussion here as I pointed out specific details or in the #78 because it has precedence? :) |
mpeterdev
changed the title
Evaluate Joi vs. other validation libraries
Switch from Oct 14, 2022
joi
to zod
condensing here since you provided more details 👍 |
As for a new name of the issue - do we agree on |
yep, if you have had good experiences with it then let's go for it |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
While working types unification I stumbled upon Joi library downsides types-wise.
I think we should consider moving to another library which would give us more strict types on endpoint inputs (and maybe outputs).
So what's missing?
Joi.object
any
- one would usually useJoi.alternatives
to run the validation though the types expectJoi.SchemaMap
.I would suggest us moving to zod, I used it in explorer and a few pet projects and value it a lot. I open to other suggestions as well.
The text was updated successfully, but these errors were encountered: