Skip to content

Add clause for maps on sumo_utils:to_bin/1 #308

Description

@ferigis

Create a new clause when the value is a map. This is useful for the Riak Adapter.

to_bin(Data) when is_map(Data) ->
  term_to_binary(Data);

Metadata

Metadata

Assignees

No one assigned

    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