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 clause for maps on sumo_utils:to_bin/1 #308

Open
ferigis opened this issue Jun 6, 2017 · 0 comments
Open

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

ferigis opened this issue Jun 6, 2017 · 0 comments

Comments

@ferigis
Copy link
Member

ferigis commented Jun 6, 2017

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);
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

1 participant