HichemF
HichemF3w ago

Deprecated createCaller alternative?

What’s the alternative for the deprecated method? https://trpc.io/docs/v10/server/server-side-calls#routercreatecaller
Server Side Calls | tRPC
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.
Solution:
but you can see here for an alternative
Jump to solution
2 Replies
Alex / KATT 🐱
you can use .createCaller(), we will likely undeprecate it 😄
Solution
Alex / KATT 🐱
but you can see here for an alternative

Did you find this page helpful?