basho / riak-nodejs-client

The Riak client for Node.js.
Apache License 2.0
72 stars 29 forks source link

return empty object for tombstone #75

Closed tstonis closed 9 years ago

tstonis commented 9 years ago

I'm not sure if this is the correct behavior, but this is a fix for JIRA: CLIENTS-493 (#74). I just return an empty object in the case a tombstone is found. Otherwise, the JSON parser fails on the value.

lukebakken commented 9 years ago

Hello!

Thank you for reporting this issue and this pull request. I have opened PR #76 which contains your commit and other related changes, including a unit test.