Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add riakc_datatype:context/1 function #362

Open
manifest opened this issue May 18, 2017 · 0 comments
Open

Add riakc_datatype:context/1 function #362

manifest opened this issue May 18, 2017 · 0 comments
Assignees

Comments

@manifest
Copy link

Context value of CRDT object could be useful for operations like calculating HTTP Etag. Currently, the only way to retrieve context is to deal with internal representation of CRDT object.

{map,_,_,_,Context} = Obj.

By adding riakc_datatype:context/1, we could make such operations much more reliable.

-callback context(datatype()) -> context().
@russelldb russelldb self-assigned this Dec 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants