Closed FelixNgFender closed 6 months ago
When Zod schemas are defined on the client boundary, you cannot export that schema and re-use it on server-only code. Figure out a way to share schemas and reduce code duplication between two sides.
When Zod schemas are defined on the client boundary, you cannot export that schema and re-use it on server-only code. Figure out a way to share schemas and reduce code duplication between two sides.