Could you upgrade zod version? #8410
Replies: 1 comment
-
|
This discussion was automatically locked because it has not been updated in over 30 days. If you still have questions about this topic, please ask us at community.vercel.com/ai-sdk |
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
Uh oh!
There was an error while loading. Please reload this page.
-
@hookform/resolvers and react-hook-form not compatible with zod version of ai sdk
when i upgrade ai sdk to v5 it fail typecheck everywhere use resolver schema. every schema use preprocess not understand type, and default is unknown
zod version im using is 4.0.14
ex:
thanks
i searched for similar discussions but it just update peer dependency but not work
Beta Was this translation helpful? Give feedback.
All reactions