T
tRPC
How to use createCaller() with lambda for testing?
How to use createCaller() with lambda for testing?
Looking for more? Join the community!
T
tRPC
How to use createCaller() with lambda for testing?
T
tRPC
How to use createCaller() with lambda for testing?
Recommended Posts
is there a way to call useQuery() from a callback and get the return value within that callback?I have a generic component that is effectively an autocomplete that fills in options from a web requUsing Response with the Next App RouterThe route handlers in the App Router, only receive the Request object, requiring you to use a ResponThe only way to access useQuery options without input is passing undefined to it?Is there any other way? seems strange pass undefined to the input queryHow can I access the trpc context in zod's refine function?To do something like
```ts
create: myProcedure
.input(myInputSchema.refine(async ({ slug }, ctx)Set Request Headers for individual requests?Hello everyone, I have a simple question, can you somehow add headers to the individual requests insGet undefined when the refetch function has successfully workedIn my use case, I first disabled the useQuery function because I want it only fetch when I want to.