tRPCttRPC
Powered by
peternovakP
tRPC•3y ago•
10 replies
peternovak

Call multiple TRPC endpoints from onSuccess()?

I would like to create an API chain for analysing a geographic area where one successful API call can lead to multiple new API's being called to render the components in the right orders for the user. This works really well for single API calls, but when combining multiple of them together to be triggered at a onSuccess() call, the trpc combines them all together instead of taking them one by one.

Does anyone know how to solve this?
image.png
image.png
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

call socket.io events from inside trpc endpoints?
test_1Ttest_1 / ❓-help
3y ago
[HOW TO?] Call trpc endpoints from vanilla nextJs api routes
LaunchThat.AppLLaunchThat.App / ❓-help
3y ago
TRPC ratelimiting endpoints
rustclanRrustclan / ❓-help
3y ago
how do you consume trpc endpoints from postman?
PotatisMannenPPotatisMannen / ❓-help
3y ago