-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support zod 3.24.x #4959
Comments
Not getting this error myself, I can bump the dependencies but before i start requiring everyone to upgrade their zod version. can you add a repro? |
I'll try to get a repro together and attach |
Here is a repro: https://stackblitz.com/edit/github-kdegep-dfaa5wba?file=package.json now that I come to think of it, It might be a tooling issue related to typescript Possibly related to vuejs/language-tools#5044 |
After digging further, There was some wonky dependency issues. I deleted my lock file, and problem went a way. Closing for now. |
Thanks for following up! |
What happened?
When using
toTypedSchema
for a zod schema a incompatible type error is thrown related toZodIssue
Starting in zod 3.24,
@standard-schema/spec
is implemented which I believe is the reasonReproduction steps
3.24.x
...
Version
Vue.js 3.x and vee-validate 4.x
What browsers are you seeing the problem on?
Relevant log output
No response
Demo link
https://stackblitz.com/edit/github-kdegep-dfaa5wba?file=package.json
Code of Conduct
The text was updated successfully, but these errors were encountered: