Validators

Configure input and output validation with .input() and .output() using Zod, Yup, Superstruct, ArkType, Valibot, Effect, or custom validator functions. Chain multiple .input() calls to merge object schemas. Standard Schema protocol support. Output validation returns INTERNAL_SERVER_ERROR on failure.

trpc 6788a23 5.2 KB Updated

File contents

trpc/trpc/tree/main/packages/server/skills/validators commit 6788a23799

Frequently asked questions

npx skillmds add trpc/validators