nathanaschbacher / nodiak

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

Add support for 2.0 CRDTs #22

Open dmitrizagidulin opened 10 years ago

dmitrizagidulin commented 10 years ago

Add support for Riak 2.0 Data Types:

References:

nathanaschbacher commented 10 years ago

Well. This is already giving me heartburn. http://docs.basho.com/riak/2.0.0pre20/dev/using/data-types/#Setting-Up-Buckets-to-Use-Riak-Data-Types

Still super unclear on why these aren't just resource endpoints that map to preconfigured buckets behind the scenes so that they require no additional user-land setup.

phated commented 10 years ago

Apart from the userland configuration of bucket types, there shouldn't be any issues implementing these endpoints, right?

dmitrizagidulin commented 10 years ago

@phated Correct, it's fairly straightforward, HTTP endpoints. (Specifically, most of the bucket and object operations will have to be modified to accept the bucket type parameter)