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.
![](https://utfs.io/f/de2dc36c-7e92-4825-b884-54342aadb3ad-1nq2cb.png)
1 Reply
Oops, looks like we merged that but haven't published 🏃🏼
Available in v10.10.0