-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
z.infer should be z.input #13
Comments
good catch. I'll get that fixed asap |
Should be fixed in https://github.com/JacobWeisenburger/zod_utilz/releases/tag/0.8.3. Let me know if it works for you? |
looks great! thanks for the quick turnaround! |
Thanks for clearly describing your issue. lol. It is crazy how many people struggle with making a simple explanation. :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
zod_utilz/src/useTypedParsers.ts
Line 28 in 2615a26
if i pass
to
useTypedParsers
right now the resulting .parse won't acceptundefined
but I believe it should!using
z.input<Schema>
solves this for me, just thought I'd open this as a possible improvement. Thanks for this really helpful library!The text was updated successfully, but these errors were encountered: