T
tRPC
Hey π
Recommended Posts
Hi ! I get this error when i trying to getUser : β tRPC failed on user.getUser: UNAUTHORIZEDwhat is "use" keyword```ts
const baseProcedure = t.procedure
.input(z.object({ townName: z.string() }))
.use((opts) =How to Type a Middleware factory?Lemme first show you what I want, so you can get the gist of it. (Consider me less experienced in tyDoes "enabled" in useInfiniteQuery work?I am trying to prevent the hook to fetch data using "enabled" parameter. It works in useQuery, but uHow to use NextJS tRPC client without hooks?I want to use the vanilla tRPC client in NextJS (both browser+server), but I can't because it doesn'"Fast Refresh" messing with my WebSocketServer in Next.js developmentI got my websockets up and running in **tRPC **+ **Next.js** with this code:
```js
import { WebSockt3-turboHey anyone know how to integrate clerk into t3-turbo appavoiding used more hooks than previous renderI understand whats causing the error in my code, im checking if id is defined before calling useQuerHow would batching result in a single database query?On the `httpBatchStreamLink` docs it says that multiple query calls could result in a single databasTS error cause Query is not returning correct type to the client!So Ive build a query which return a type called Employee, for example.
on my client I've props which