tRPCttRPC
Powered by
jaiJ
tRPC•4y ago•
4 replies
jai

Can you chain middlewares in v10?

Would I be able to make a rate limit and isAuthed middleware, then put queries behind both middlewares so it's rate limited and protected by auth? The docs suggest it doesn't work like this, but I wanted to make sure.
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

middlewares typesafety
Adam BorygoAAdam Borygo / ❓-help
8mo ago
Extending middlewares
Gary, el Pingüino ArtefactoGGary, el Pingüino Artefacto / ❓-help
4y ago