Using trpcState with Remix
integrating with Meteor
Best way to get the type of the first argument for .query or .mutation
.query
or .mutation
. But im not sure if there is a helper type to get this type from our instance?is it possible to send error codes that aren't listed (eg 503 - service unavailable)
TRPCError
you can specify a code out of the ones listed on the docs
But out of these, the only 5xx error is internal server error. I would like to send a 503 to indicate that the request was properly formatted, but the server isn't ready to handle it yet. It's not necessarily a server error....experimental_nextAppDirCaller ERROR
Generic query type
How to prevent leaking error messages to client?
Error: connect ECONNREFUSED 10.1.0.6:5432\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1555:16)\n
Thanks!...TRPC NUXT req run 2 times(on server and client)
useUtils().setQueriesData should not take input as param.
client unable to infer output types
How to access the request body in the onError callback?
fetchRequestHandler
:
```
TRPCError: "input" needs to be an object when doing a batch call...Make meta in react-query type-safe.
Using tRPC (createCallerFactory) with react-query.
Losing type-safety with merged routers
Send File Back From Procedure
anyone used combine function on useQueries? I can't figure where to place it in case of tRPC
conditional useQuery without input