tRPCttRPC
Powered by
ItsWendellI
tRPC•4y ago•
1 reply
ItsWendell

Sharing middleware between TRPC servers

We currently have microservices REST API's on Cloudflare Workers and I'm thinking about moving this to TRPC Microservices.

We currently have a middleware in a shared package that we can reuse between microservices for authentication, how do I do this within TRPC?

How do I define a
MiddlewareFunction
MiddlewareFunction
that can be reused between multiple TRPC instances?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

trpc middleware
PTIT-NeikkkPPTIT-Neikkk / ❓-help
3y ago
trpc pipe middleware
rustclanRrustclan / ❓-help
3y ago
nextjs middleware trpc authentication
chicoCchico / ❓-help
16mo ago
TRPC Middleware w/ Input
LiamLLiam / ❓-help
3y ago