T
tRPC
application/octet-stream response
application/octet-stream response
Looking for more? Join the community!
T
tRPC
application/octet-stream response
T
tRPC
application/octet-stream response
Recommended Posts
Discriminated union handleHow Do I handle Input type if its discriminated union??
```
export const batchTasksRouter = createHit external APIs ...I'm new to tRPC, I need to hit an external API (OpenAI) directly from the client-side. Can I still uCannot get subscription event to fireRipping my hair out here trying to get Websockets working with tRPC and Next. Everything seems to bHow to get response type depending on the input params?Simple example of a normal JS function with generics:
```
const example = <T extends unknown>(paramshow to build tRPC and Prisma with express?I am using TSC as the official docs example does.
But when I use paths in tsconfig.json, It does notHow to infer types from input?When I call my procedure from the client I send an array of strings as an input. How can I infer theHow to infer types of a queryCoinsider the example
`const hello = trpc.hello.useQuery();`
I would like to export the type we get Data Visualisation/Chartsis anyone using tRPC on data visualisation (say bar chart/line chart) in a scenario close to a banki