Skip to content

Add riakc_datatype:context/1 function #362

@manifest

Description

@manifest

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().

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions