Massive Type Errors on tRPC 10 Legacy Router against MergeRouter
We're trying to upgrade to tRPC 10 but I am running into a massive type clash when trying to merge routers. Our tRPC 9 router is huge.
I've interop'd all of these routers and the legacy router itself, but when I get to the point at which I am merging my new router with my old legacy router, my
.merge
statements on my legacy router blow up a massive illegible typescript error.
Attached is a glimpse, can provide more info if necessary4.8KMembers
View on DiscordMore Posts
Is it possible to create 2 routers inside a single file?I am having an issue in which it is impossible to me to use a class instance within 2 routers. I triUse onError to change an application error into a TRPCError?I want to use the onError handler to change any instance of a custom application error into a TRPCEr