Serialize/Deserialize zod objects #1256
Unanswered
hollandThomas
asked this question in
Q&A
Replies: 1 comment
-
I have implemented a custom solution based off this: https://kitchen-sink.trpc.io/react-hook-form |
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
-
Hey y'all,
is it possible to de-/serialize zod objects?
Our use case is to dynamically generate forms with Remix and Remix Forms. I'm thinking of something along these lines
Are there any alternatives I'm missing? I found zod-to-json-schema and json-schema-to-zod, just that those don't really deserialize but write zod objects to files. We thought about using
eval
on those but that seems way too hacky.Beta Was this translation helpful? Give feedback.
All reactions