NickN
tRPCβ€’3y agoβ€’
4 replies
Nick

Not getting legacy router ops in merged tRPC 9 router

Followed the guide to merge my large tRPC 9 router with tRPC 10, but now I can't use useQuery or access my old routers off of trpc.. I can see trpc.greeting, though.

Even if I omit the MeasurementRouter.build() TRPC router, or merge a basic router, the client still doesn't recognize my legacy procedures.

Not sure what to do here, have been hacking on this upgrade for a while and would greatly appreciate a push in the right direction.
Screen_Shot_2023-06-06_at_6.20.50_PM.png
Screen_Shot_2023-06-06_at_6.20.55_PM.png
Screen_Shot_2023-06-06_at_6.21.28_PM.png
Was this page helpful?