nathanaschbacher / nodiak

Nodiak is a Node.js client for the Riak Distributed Database
MIT License
43 stars 16 forks source link

Improve Sibling resolution management. #8

Closed nathanaschbacher closed 12 years ago

nathanaschbacher commented 12 years ago

At the moment when using Bucket and RObject the behavior, if you don't supply your own auto-resolve function either at the time of requesting the object or by overriding the default on on the Bucket, is to simply use a client-side LWW method provided by the Bucket class.

It may be desirable to actually pass along the original siblings to the user even after the auto-resolution (user-defined or default) has occurred.

We should attach the array of siblings on the RObject as a .siblings property.