Can I zod this gamestate?
It's a game. There is more nested interfaces (Field, Entity, Card, Deck). Should I just give up and use z.any() or is this still reasonable with zod? 😄
4 Replies
If you can write interfaces, you surely can write as many zod schemas
fine. meme question, I'll get around to it eventually
was just hoping some zod wizards would show me the way to do this easier
You can write schemas and infer types from them