welpW
tRPC3y ago
7 replies
welp

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 tried declaring the routers in a single file and then exporting them, it doesn't work. The issue I am facing is this: https://github.com/vercel/next.js/issues/49309

Any insight/help would be greatly appreciated.
GitHub
Verify canary release I verified that the issue exists in the latest Next.js canary release Provide environment information Operating System: Platform: linux Arch: x64 Version: #1 SMP Wed Mar 2 00:...
Module imported in different files re-evaluated · Issue #49309 · ve...
Was this page helpful?