Rasel HossainR
tRPC2y ago
1 reply
Rasel Hossain

TRPC Dynamic Procedure URL

I am currently using QStash as a message queue with TRPC. QStash is HTTP-based and in the example below, you can see that I call the TRPC procedure URL when publishing a message using QStash. My question is, how can I make this URL dynamic? Instead of repeatedly writing the full URL, I want to use a function call like
js 
trpc.subscription.updateSubscription.url
.
how can I do this in trpc?
image.png
Was this page helpful?