Using generics duplicates the types instead of referring to the existing types

Set custom header for fetchRequestHandler
How to enforce usequery as NonNullable
How to call useQuery with params inside JSX
Sharing Enum
import type { SomeType } from '../backend/schemas'
and that would be stripped If I understand correctly. But what about enum?...Meta - unable to create default meta

trpc/react-query batching
middleware error with minimal-react example
'middleware'
does not exist on CreateHTTPHandlerOptions<...>
. Am I doing something wrong or is it broken?how to use the same Zod validation both client and server's procedure input
pipe/unstable_pipe
Implementation of bi-directional cursor-based pagination
useInfiniteQuery
and I'm trying to make it bi-directional. I know I need to pass getPreviousPageParam
that returns the second cursor, but I don't see any obvious way to pass the direction information to the procedure. What would be the recommended way to do it?How to ignore `input` validation and just pass in an object with interfaces?
z.object()
paramWhere can I add a query key?
async inside link next handler possible ?
tRPC doesn't support redirect
How to get external key other than INPUT from RESTFUL request?
Cannot read properties of undefined (reading 'createTRPCReact')
application/octet-stream response
application/octet-stream
. (csv/xlsx) Can I handle this with trpc?? Probably I can't pass directly the response from the API throught trpc procedure and read it on client. I was thinking if I could parse response on backend (read it as text) and send text to client and download it? Would that work? Is it some kind of security? One problem could occur if the file would be big I guess??...Discriminated union handle
Hit external APIs ...
