Drizzle-zod combined with regular zod? 🙃

So I have a drizzle-zod schema for the server, and a regular zod rich schema for client side validation.

Does anyone have a way to merge regular zod with drizzle-zod for the strictest type to use on my server?

If not I don't see much point in drizzle-zod. Since I might as well just use my regular zod for types.

Thank you!
Was this page helpful?