pete
pete6mo ago

How are errors handled in batched requests

We're using httpBatchLink, and have noticed that when multiple procedures calls are batched together and one fails, the other procedure calls don't appear to even be attempted (at least according to our otel instrumentation). Is that the way batched procedure calls are expected to behave?
4 Replies
Alex / KATT 🐱
Sounds like your instrumentation is wrong
pete
peteOP6mo ago
ok, so the behavior should be more like a Promise.all where all the procedure calls are evaluated and then a batched response would come back?
Alex / KATT 🐱
More like Promise.allSettled and they all get different codes etc