Closed awenger closed 9 years ago
Hello,
Please see the following documentation:
http://basho.github.io/riak-nodejs-client/classes/StoreValue.html http://basho.github.io/riak-nodejs-client/classes/RiakObject.html http://basho.github.io/riak-nodejs-client/files/lib_commands_kv_riakobject.js.html#l145
To set user metadata, you must use a RiakObject
for your value. Please see the following example code that I have created:
https://github.com/basho/riak-nodejs-client-examples/blob/master/github/issue-52/example.js
It requires the following bucket type:
$ riak-admin bucket-type create github
$ riak-admin bucket-type activate github
ValidationError: "userMeta" is not allowed
: