hey is there any way to integrate or implement machine learning / ai in trpc
How to serve files with trpc?
tRPC in Next without api rotes
getting the progress of a trpc query
wrapper on useMutation (and another for useQuery) for creating multiple hooks
useQuery returning old data with new params
Calling a tRPC service from another tRPC service
charset=utf8 results in empty input
Content-Type: application/json; charset=utf-8
- note the additional charset=utf-8
When charset=utf-8
exists, the input to the relevant procedure is {}
...Is there a way to alter the query key generated by trpc?
initial
) to the backend saying if it's a first call of a given procedure. I don't want trpc to create two separate queries because of this. Is there a way to remove this initial
parameter from the generated query key? Or is there perhaps a better way to tell the backend it's the first fetch?useMutation throwing 500 errors
createTRPCReact
with a custom client for RSC.
```ts
"use client";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";...
TRPC Nextjs App Router API Base URL
Turborepo, nextjs, vite react app, express server
Router/Middleware Chaining in V10
throwing custom errors from mutations

trpc in a pnpm monorepo
TS Error with React when creating client "useContext" collides ....
Type 'NextRequest' is missing properties from type 'NextApiRequest'
createTRPCContext({ req })
:
```
Type 'NextRequest' is missing the following properties from type 'NextApiRequest': query, env, aborted, httpVersion, and 66 more.ts(2740)...Type '{}' is not assignable in server query
Using HTTP:POST for `query`?
query
with a large amount of JSON data. However, since we use HTTP:GET
under-the-hood for queries ( including batching ), I run into header length limits. Since we deploy to AWS, we are also restricted to the length limit imposed by Amazon ALB. Due to this, I have the following questions :
- Is it currently possible to use HTTP:POST for query
and mutation
? ...