I'm trying to create new map using riakc_pd_socket:modify_type or riakc_pd_socket:update_type.
In both cases client requeres context to create new map.
Creating a map as riakc_map:new(riakc_map:new()) (the same way modify_type does) leads to no function clause matching riak_dt_pb:encode(map, {map,[],[],[],undefined}).
I'm trying to create new map using
riakc_pd_socket:modify_type
orriakc_pd_socket:update_type
.In both cases client requeres context to create new map.
Creating a map as
riakc_map:new(riakc_map:new())
(the same waymodify_type
does) leads tono function clause matching riak_dt_pb:encode(map, {map,[],[],[],undefined})
.Is it a bug or am I doing something wrong?
Thanks in advance!