tRPCttRPC
Powered by
brumbrum_brumB
tRPC•2y ago•
8 replies
brumbrum_brum

Procedures with paramters.

Is it possible to pass parameters to a procedure in TRPC? I want a procedure that first checks if the user is signed in by default. But then I also want to be able to pass an array of permissions for the user to have, when the actual procedure is used in a route.
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

Extending the client with "virtual" procedures
anglinbAanglinb / ❓-help
3y ago
Nested tRPC procedures.
Deepak SharmaDDeepak Sharma / ❓-help
2y ago
Auth through trpc procedures
MarMMar / ❓-help
3y ago
Typed wrappers for procedures
hagabakaHhagabaka / ❓-help
3y ago