Replies: 2 comments 1 reply
-
I would find this useful -- one thing I do in my project that I'd rather not have to do manually is parse/validate query params from a URL that need to correspond to known enum values that I have orval codegenned types for (but not zod schemas that could help me do the parsing/validating). Just digging around the repo to see if there's anything existing I could leverage. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Wouldn't this be solved by just doing something like: export async function performLogin(loginData: z.infer<typeof loginFormSchema>) |
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
-
Should Orval output Zods schema for the Types as well?
Does anyone else think this could be useful?
Beta Was this translation helpful? Give feedback.
All reactions