François Best
TTCTheo's Typesafe Cult
•Created by cadams on 11/3/2023 in #questions
Do you manually create Zod schemas for your Prisma models?
I've used (and contributed to) Carter's tool, it's indeed a neat way to keep the schema as a source of truth. Turning the resulting Zod schemas into JSON Schemas helped turn a Fastify server into a tRPC-like experience.
11 replies