tRPC with part on NextJS Lambdas and part on Edge

How should I go with splitting tRPC to have some functions execute on serverless/lambdas and some on edge functions? I tried creating two separate routers with nested withTRPCs, but it didn't work.
Was this page helpful?