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 ...

Cannot get subscription event to fire
How to organise reusable functions
How to get response type depending on the input params?
how to build tRPC and Prisma with express?
How to infer types from input?
How to infer types of a query
const hello = trpc.hello.useQuery();
I would like to export the type we get on hover(on hello).
...Data Visualisation/Charts
trpc + AWS Lambda (through cdk)
Is it possible to narrow an output schema if the query optionally doesn't return all fields?
filter
that changes the shape of the data to only include those fields (like sql select
), but those records will fail the output schema which contains all of the fields as required. is there a way to construct a .output()
specification that narrows the type, possibly using z.partial() so that these partial "rows" will pass output validation?Fetching different server url than defined in config
/address-middleware
instead of hitting /trpc/....
Can I do that? I dont want to setup separate reactquery provider or something just to call one separate endpointError types in catch block
input using z.or not working properly
How can I disable batching with fastify adapter?
Issue with monorepo architecture ant tRPC
Cannot read properties of undefined (reading 'messsage')
so I have read that at least error problem was fixed in newer versions, so we tried to update version, but then the builds started to fail. We get this error (photos in the thread) and more information
Using tRPC in CRON jobs