API Bulk Operations

William Reade william.reade at canonical.com
Thu May 30 13:03:44 UTC 2013


On Thu, May 30, 2013 at 10:30 AM, John Arbash Meinel <john at arbash-meinel.com
> wrote:

> My problem is that if you are going to just put "nil" then *every*
> client needs to zip over the request they sent and the response they
> get so that they can figure out which items were found, and what was
> omitted.
>
> If you at least have Result, you can put they requested key in there,
> and the error. Also, would you distinguish between "object doesn't
> exist" and "you don't have access to that object"? That would already
> be 2 types of errors.
>

Yep, that's a plausible second error type, even if we don't have that use
case today. Chalk it up to a failure of imagination, and consider me
convinced.

Cheers
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20130530/a9fbae59/attachment.html>


More information about the Juju-dev mailing list