sanitizing output based on output schema
.output will only ensure the schema is respected, but will not sanitize output on the go (even tho it could be possible with a z.strictObject()):
```ts
.output(someSchema) // <- does not sanitize data
// ---...middleware executed twice? should i use `experimental_standaloneMiddleware`?
how to best test trpc?
tRPC v11 with Tanstack React Query - queryOptions/mutationOptions methods missing
queryOptions and mutationOptions
methods are not available on my tRPC utilities.
Setup:
- Next.js 15.3.5 with App Router...How to display server router docs on the client hover
Tanstack React Query and TRPC package version incompatibility
tRPC + Nextjs: redirect on next error with new TanStack Query integration
Nextjs, Expo react native, Trpc Help
Is it possible to use tRPC with Deno over Websockets only?
Tprc Tanstack integration types
export function useProjectBySlug(slug: string, options?: any) {
const queryOptions = trpc.projects.getBySlug.queryOptions({ slug }, options);
return useSuspenseQuery(queryOptions);
} ...Migrating v11 from classic client to TanStack Query: “Error: experimental_prefetchInRender feature ”

types not working if input provided
how to handle non-trpc errors?
can't access property Symbol.for("trpc_untypedClient"), client is undefined
Trpc routes code execution during nextjs build process
Type errors when deploying to Vercel using new client integration
Property 'map' does not exist on type '() => never'. The relevant code snippet would be this:
...error handling on server side
Monorepo with shared trpc router type
app/server
app/client
packages/shared...Stop File stream if file is too large
TS error when JSON field in Prisma - Type instantiation is excessively deep