126 routers | TS7056: inferred type node exceeds - Multiple Providers?
How to get cursor in new Tanstack Query integration?
cursor
(or pageParam
) in the new infiniteQueryOptions
function? The current procedure input takes a cursor
but I'm getting and error saying cursor
is not passed to infiniteQueryOptions
, and I can't pass it manually as it is calculated using getNextPageParam
.monorepo can't resolve trpc context
Type error: Property 'Provider' does not exist on type '"The property 'useContext' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'useUtils' in your router collides with a built-in method, rename this router or procedure on your backend." | "The property 'Provider' in your router collides with a built-in ...'.
Does anyone have a decent idea or a suggested setup for express backend, nextjs front, and trpc 11? I want a mono so that I can share a lot betyween them + share hooks with future projects. I want express so that I can scale them in AWS. and next pushed through AWS amplify. That's the current idea ayways. This is my experimental project where the dev works but the build fails. This is killing me for over a week now.https://github.com/dsmurl/an-express-next...
Catch the error on trycatch and show the message
operation input is formdata but trpc makes it an application/json POST call
v11 with tanstack mutation not invalidate query

Extra query keys for functions for invalidation
Type 'DecorateQueryProcedure<{ input: string; output: { id: string; name: string; }; transformer: fa
Should `.queryFilter()` not take a partial arg?
.invalidate(partialObject)
to qc.invalidateQueries(trpc.path.queryFilter(partialObject))
doesn't work, since queryFilter
type isn't partialled. Is this correct behavior? I would imagine the filter could be anything
Really like this integration update btw ๐...skipToken combined with the new tanstack query options
different transformers for different routers
json
field in it, and TS types are mismatching (TS types assume no wrappers will be there)super quick question about prefetching
prefetch
to fetch data on the server to ensure that both queries are running at the same time? From the looks of it trpc handles this automatically so it is unneeded?
await Promise.all([api.guild.get.prefetch({ guildId }), api.application.getList.prefetch({ guildId })]);
await Promise.all([api.guild.get.prefetch({ guildId }), api.application.getList.prefetch({ guildId })]);
TRPC not writing to QueryCache?
Query via a non-connected wsLink never times out despite AbortSignal
Where did useUtils go?
useUtils
here and there to do fetches from components like ag-grid which requires a data source
It looks something like this
```js...get state of streaming response
How can I break this loop when the client disconnects?
Early return for certain input parameter for queryFn
Upgrading tRPC v10 to v11 in NextJS 15.0.1
pnpm
.
Installation is running smoothly, but when i run pnpm build
i get
```...
best practice for invalidating protected queries upon profile switch