TRPC Dynamic Procedure URL #5626
Unanswered
rasel-stacklearner
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You mean this: https://trpc.io/docs/rpc#accessing-nested-procedures? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions