Andy
Andy2mo ago

Enable zod 4 support for zodOutputToConvex

Getting a type error when attempting to use zodOutputToConvex with zod 4. Importing z from "zod/v3" works fine.
No description
2 Replies
Zack
Zack2mo ago
I'm also running into this issue
Zack
Zack2mo ago
GitHub
GitHub - panzacoder/zodvex: A small library for interacting with Zo...
A small library for interacting with Zod and Convex together, with Zod Codecs and Zod v4 in mind. - panzacoder/zodvex
GitHub
Zod V4 implementation by SamJB123 · Pull Request #701 · get-conve...
Ready for testing and refinement by community - but expect rough edges! Current version includes several opinionated decisions with a goal of writing a schema once. Uses ZodV4 internals to map Zod...

Did you find this page helpful?