Replies: 3 comments 6 replies
-
You might benefit from this example: https://github.com/trpc/trpc/tree/main/examples/soa |
Beta Was this translation helpful? Give feedback.
0 replies
-
The issue with that one is that it seems that the contexts need to be the
same
…On Mon, Nov 27, 2023 at 3:38 PM Nick Lucas ***@***.***> wrote:
You might benefit from this example:
https://github.com/trpc/trpc/tree/main/examples/soa
—
Reply to this email directly, view it on GitHub
<#5111 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN23UL4UJNGJZ444L73STETYGUI4TAVCNFSM6AAAAAA74TZC6OVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TMOBWGE3TG>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
6 replies
-
FYI just adding some more context (variations of this have been floating around). I suspect a common point in the lifecycle of customers will involve a separate server migration with the ability to do piece-wise changes. Having global context definitely gets in the way of this. We're monkey-patching this a bit, but I can also foresee a future where different teams own different trpc servers that manage different services. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have two routers, one called AuroraRouter which is a reference to a Fastify tRPC server living in another folder in my monorepo, and AppRouter which is the local tRPC server in the Next.js app where I am trying to mount both. They both have very different contexts, and different auth requirements but both need to be used with React Query. What's the best way to mount/merge/use both using the pages dir, with tanstack query?
Beta Was this translation helpful? Give feedback.
All reactions