Rasel Hossain
Rasel Hossain3mo ago

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
js
trpc.subscription.updateSubscription.url
. how can I do this in trpc?
No description
0 Replies
No replies yetBe the first to reply to this messageJoin