Theo's Typesafe CultTTC
Theo's Typesafe Cult4y ago
5 replies
Yoers

How to make tRPC calls from the server side

I have tried following https://trpc.io/docs/server-side-calls however I get the error shown in screenshot

Is it possible to call one tRPC method, from another on the server side?
image.png
You may need to call your procedure(s) directly from the server, createCaller() function returns you an instance of RouterCaller able to execute queries and mutations.
Server Side Calls | tRPC
Was this page helpful?