TanStackT
TanStack9mo ago
1 reply
conventional-black

TRPC procedures like API

I really like the procedures in TRPC where you can create different procedures like adminProcedure, userProcedure, publicProcedure. But I think with server functions I have to use the .middleware([adminMiddleware]) in each server function, which is kind of a boilerplate! Are there anything similar to TRPC procedures planned for Tanstack Start?
Was this page helpful?