validate: { schema: ... } but for all args at once? #349
babsonmatt
started this conversation in
Ideas
Replies: 2 comments 3 replies
-
Just pushed an update that will allow this, will be released soon |
Beta Was this translation helpful? Give feedback.
1 reply
-
does anyone have an example of this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any interest in being able to pass a schema to the validate all args method? It doesn't seem like this is currently supported and probably unnecessary as you could just call zod.parse within the validate method yourself but it might be nice to keep consistent with the validate: { schema: ... } functionality supported by each arg individually. Curious to see what everyone thinks!
Beta Was this translation helpful? Give feedback.
All reactions