empty `input` object when using mutation
useQuery
I have no issues even with input but when using useMutation
. The backend is receiving an empty input. What could be the reason?
stack is nodejs + express + reactjs + yarn
Frontend code...Returning html with TRPC
Specify invalid queries from the server?
Automatically notify about excess queried fields.
The inferred type of 'trpc' cannot be named without a reference ...
apps/nextjs
and my trpc server code in packages/api
.
Doing this however gives me this error which definitely seems related to types not being shared properly between the two packages. I am using yarn (1.22.19) workspaces....
trpc mutations for searching data
The inferred type of 'trpc' cannot be named without a reference. A type annotation is necessary.

Is `inferSubscriptionOutput` missing in 10.x?
inferSubscriptionOutput
but that appears to be deprecated / not applicable in 10.x and I am not sure what the best alternative is.
There is a inferObservableValue
but I am not sure how that works / if it is what I am looking for....is there a way to do client-side "middleware"?
await user.getIdToken()
to refresh this token.
Is there a way that I can have the frontend try a request, examine the response, potentially call this function if the server tells me the token is expired, and then retry? I want this to happen without triggering the onError() callback for all of my queries / mutations if possible....How to refetch a call made on the server
const section = await api.course.getCourseSection.query({
sectionId: parseInt(params.lesson),
});
const section = await api.course.getCourseSection.query({
sectionId: parseInt(params.lesson),
});
How to set cookies in trpc response?
Check if Role is ADMIN
T3 Stack
. I need to check if the user thats doing the action is indeed admin.
How can i implement that in this privateProcedure
?
```ts...Can middleware be used on a router?
publicProcedure
instead of adminProcedure = publicProcedure.use(isAdmin)
....How can I use `onSettled` in the `experimental_createTRPCNextAppDirClient`?

Stop initial refetch when prefetched with SSG helpers
Accessing QueryFunctionContext within server queries
HTTP 431: Input too long
Function to release context post-batching?
search_path
to match the client's JWT in context ✅ ...forwarding headers in solidjs
Support @tanstack/react-query 5.4.3