Closed Christopher-Stevers closed 7 months ago
The batching option was removed in this commit, but it seems like a httpBatchLink
was added here. So if you want to batch requests you should be able to do this:
await Promise.all([
trpc.getGreeting.query({ name }),
trpc.getFarewell.query({ name }),
])
Hopefully this helps.
I noticed previous versions had an option to batch requests, could you add that back to
1.0.0
.