Extending middlewares
https://trpc.io/docs/middlewares#extending-middlewares
Is this available?
Middlewares | tRPC
You are able to add middleware(s) to a procedure with the t.procedure.use() method. The middleware(s) will wrap the invocation of the procedure and must pass through its return value.
1 Reply
Oops, looks like we merged that but haven't published 🏃🏼
Available in v10.10.0