You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started using zod after finding out about it from the vee-validate docs, but now I regret it, because I didn't know that zod's refine() would be pretty much incompatible with a form validation library like this
It works great with vee-validate for simple schemas, but it's completely useless for anything complex
There is good discussion already in these issues, so I don't feel the need to repeat everything.
I understand that this isn't an issue with vee-validate
What do you think of adding a warning to the docs in certain places where zod is mentioned, explaining that refine() wont work as expected? I can probably make a PR for it if you're too busy, but just wanted to get feedback first
since the zod devs have been quiet about this issue, I am currently having to migrate my schemas used with vee-validate to yup, in hopes that the custom validators work better. i might even just use vee-validate rules instead of yup
The text was updated successfully, but these errors were encountered:
I started using zod after finding out about it from the vee-validate docs, but now I regret it, because I didn't know that zod's
refine()
would be pretty much incompatible with a form validation library like thisIt works great with vee-validate for simple schemas, but it's completely useless for anything complex
There is good discussion already in these issues, so I don't feel the need to repeat everything.
refine
s even if parse failed, or workaround colinhacks/zod#2524I understand that this isn't an issue with vee-validate
What do you think of adding a warning to the docs in certain places where zod is mentioned, explaining that
refine()
wont work as expected? I can probably make a PR for it if you're too busy, but just wanted to get feedback firstsince the zod devs have been quiet about this issue, I am currently having to migrate my schemas used with vee-validate to yup, in hopes that the custom validators work better. i might even just use vee-validate rules instead of yup
The text was updated successfully, but these errors were encountered: