T
tRPC
❓-help
Recommended Posts
tRPC over WebSocket with Next.js and NextAuthHi. I'm trying to set up Next 13 with tRPC over a WebSocket and NextAuth. I got it mostly working wiServer Side Calls in tRPC not working (Next 13, App Router)Where do I make the helper?Project structure ?I greatly appreciate for your insight on this, especially if you're an experienced fullstack dev:
BAccess procedures with same names and same parameters, but in different routers, genericallyMy trpc structure looks something like this:
```
trpc
- router1
- routerX
- proc1
- rDisable trpc route cahce?```ts
import { protectedProcedure, router } from "@/lib/trpc/server/trpc";
import { TRPCError } fromHow do you set headers or cookies in procedure ?Having trouble figuring out how to set headers within a procedure in Next 13.Why use unstable_httpBatchStreamLink in React server components?When using create-t3-app I noticed that they were using `unstable_httpBatchStreamLink` in their `TRPUnsafe return of an `any` typedI am using TRPC with Prisma. I can't seem to get rid of the TypeScript ESlint error.
```
import { z