lukasL
tRPC4y ago
10 replies
lukas

It is possible to define a middleware for all routes?

Instead of creating a public/protected procedure and using it for every procedure I was wondering if TRPC has any option to define it in the route definition itself:
image.png
Was this page helpful?