@trpc/server recipes
2 tested @trpc/server integration recipes with @trpc/client, superjson, Zod, vitest. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed3/3typescript
tRPC 11 client + server over fetch with superjson (Vitest)
End-to-end typed tRPC 11: fetch adapter server, createTRPCClient with httpBatchLink and superjson transformer for Dates and Maps, tested in-process with Vitest.
@trpc/server@11.19.0@trpc/client@11.19.0superjson@2.2.6
last passed 2026-10-15 13:18 UTC
passed4/4typescript
tRPC 11 context, auth middleware and createCaller tests
tRPC 11 router with a request context, a protectedProcedure built from middleware, Zod inputs and TRPCError codes, tested with createCaller (no HTTP).
@trpc/server@11.19.0zod@4.6.7tsx@4.23.15
last passed 2026-10-15 13:18 UTC