Async validations in zod #1386
danielkellyio
started this conversation in
Ideas
Replies: 1 comment
-
I dont think there is any reason why we cant use |
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
-
I'd like to do async validations in the zod plugin with the .refine method something like this:
Currently this is impossible since the
createZodPlugin
function usessafeParse
instead ofsafeParseAsync
.Are there any downsides to changing this?
Beta Was this translation helpful? Give feedback.
All reactions