jai
Can you chain middlewares in v10?
you still get access to a typed context in middlewares? its also not that bad, if you want middlewares shared by all procedures just add all of them to one procedure that you use by default, use a raw procedure if you need more customization. i use a ratelimited procedure by default and if i dont want it i use the normal one
5 replies
Can you chain middlewares in v10?
i found the answer from this discussion https://github.com/trpc/trpc/discussions/2770#discussioncomment-3728971
5 replies