callProcedure unavailable in TRPC v11

Hi there, TRPC released their v11 beta the other day and I am keen to upgrade (mostly for React Query bump to v5), however, they appear to have moved a load of stuff from @trpc/server into an internal package which is not supposed to be used externally. Of particular note is the callProcedure method used in T3's RSC/server-side link. This method would seem quite useful creating custom links in general, so I am unsure exactly why it has been "hidden". However, this leaves the app router version of the T3 stack a bit stuck! I appreciate it's early days, but I wonder if anyone has a reasonable workaround?
2 Replies
Spoof
SpoofOP13mo ago
Nate Vukovich
Nate Vukovich13mo ago
Not sure how smart this is but what I've managed to do is use callTRPCProcedure instead of callProcedure. And for now I've forced
rawInput -> getRawInput: () => Promise.resolve(),
rawInput -> getRawInput: () => Promise.resolve(),

Did you find this page helpful?