HichH
tRPC12mo ago
4 replies
Hich

Deprecated createCaller alternative?

What’s the alternative for the deprecated method?

https://trpc.io/docs/v10/server/server-side-calls#routercreatecaller
You may need to call your procedure(s) directly from the same server they're hosted in, createCallerFactory() can be used to achieve this. This is useful for server-side calls and for integration testing of your tRPC procedures.
Server Side Calls | tRPC
Solution
but you can see here for an alternative
Was this page helpful?