msgraph-sdk-go-core icon indicating copy to clipboard operation
msgraph-sdk-go-core copied to clipboard

Batch "response" semantics are confusing

Open eric-millin opened this issue 2 years ago • 1 comments

Not a huge deal, but something to think about for v2.

The Batch API is confusing when dealing with BatchItem and BatchResponse. Response is overloaded as it refers to both the response to the top-level batch response and the collection of responses that it contains. Then GetResponses returns BatchItem. Functions operating on the BatchItem treat it as a "response". I've had moments of trying to keep everything straight. Could use clarifying. Thanks

eric-millin avatar Dec 04 '23 18:12 eric-millin

Occurred to me that distinguishing Batched items from Batch might help.

eric-millin avatar Dec 05 '23 17:12 eric-millin