Is there a way to pass parameters to procedure on call?
I would like to pass the required permission to the procedure like in this example:
Any idea how i could achieve this?
1 Reply
GitHub
Procedure with parametes ? · trpc trpc · Discussion #5196
Is there something in trpc, that we can do to get role based procedures, something like this ping: publicProcedure.meta({ description: "Returns a Pong" }).query(() => { return "Po...