msgraph-sdk-go-core
msgraph-sdk-go-core copied to clipboard
Batch "response" semantics are confusing
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
Occurred to me that distinguishing Batched items from Batch might help.