Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
10 replies
alexjyoung

tRPC Input from a Prisma Schema

Is there any way to tell tRPC (zod technically i guess) to expect a tRPC schema as a type? like

procedure.input({myType: z.tRPC(myType)}).query()

or something
Was this page helpful?