WiznetW
tRPC17mo ago
1 reply
Wiznet

Passing input as a prop

Hey all, I currently use zod to define my inputs for queries. Is there a good way to type the zod objects when passing them as props? Specifically I'm writing validation functions to verify the patch against business logic. I'm currently typing per my image but that is messy + not scalable.
image.png
Was this page helpful?