Zero
Zero
TTCTheo's Typesafe Cult
Created by Zero on 4/24/2023 in #questions
3rd party Zod validation
Has anyone ever validated 3rd party requests with Zod? Running into an issue where one property might be different down the line since we don't control this api. If I use safeParse it'll give me an error object but no validated data. Is there a way to retrieve the validated data sans the property that errored out? Maybe I'm overthinking this?
35 replies
TTCTheo's Typesafe Cult
Created by Zero on 11/10/2022 in #questions
Turborepo + Prisma + TRPC
quick sanity check before I drop the idea of letting turborepo cache prisma has anyone run into this error when using prisma + a custom generated output with next-auth or trpc? https://github.com/prisma/prisma/issues/13233 I'm using yarn
5 replies