UseQuery iterator not working for me
Cannot use stream-like response in non-streaming request - use httpBatchStreamLink
Cannot use stream-like response in non-streaming request - use httpBatchStreamLink
Endpoints lose Input and Output Types on tRPC Client
Where put transformer on custom link? (upgrading to V11 with T3-Setup)
callTRPCProcedure
-function now gives a type error: Unsafe return of an
any typed value.
...
client server counication with webSockets
How do you call a router procedure from another router procedure?
.query(async ({ ctx, input }) => {
const wikiQuery = await routerFromAnotherFile.queryWikiTable(input);
.query(async ({ ctx, input }) => {
const wikiQuery = await routerFromAnotherFile.queryWikiTable(input);
Cannot figure out the correct type
trpc.useUtils().client
, which is perfect. But I want to make it a global object for CSR components. I cannot figure out the right type to include in to the declaration.
Thank you...export const api = createTRPCClient<AppRouter>({ ... })
Trying to get the return type of a procedure.
Having great difficulty using Streaming
Property 'map' does not exist on type 'AsyncGenerator<number, void, unknown>'.
and my JavaScript console gives me this error as well, TypeError: _myQuery_data.map is not a function
.
I am using the T3 Stack with tRPC running Bun 1.1.3
with Next.js v14.2.4
...bun update
did the trick, since I didn't change anything and everything worked. When people say if it ain't broke, don't fix it, this is what they mean.Unable to abort Suspense queries
Authorization and Authentication while using unstable_httpSubscriptionLink
Custom data transformer and input/output schema
Property 'error' does not exist on type 'MiddlewareOKResult<any>'.
I'm unable to make a GET request in postman. But able to make post requests
expected object received undefined
what could i be doing wrong?
these are my routes, the problem is with testRoute
:
```typescript...
The inferred type of 'trpc' cannot be named without a reference to '...'
Update a query with setData avoid calling invalidateQueries ?

sending messages via WebSockets
My TRPC hooks are getting typed as `any`
Subscription error: TRPCClientError: Subscriptions should use wsLink
tRPC typings not working - Cannot import @trpc/server on client