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

no export_type available for put/get/delete/search_options in riakc_pb_socket.erl [JIRA: CLIENTS-545] #224

Open
sata opened this issue Aug 20, 2015 · 1 comment

Comments

@sata
Copy link

sata commented Aug 20, 2015

Only option at the moment is to include riakc.hrl which has a vast set of defines. It would be preferable to rely on export_types rather than to include all of the definitions just to be able to have proper specs for functions working over riakc_pb_socket.

@Basho-JIRA Basho-JIRA changed the title no export_type available for put/get/delete/search_options in riakc_pb_socket.erl no export_type available for put/get/delete/search_options in riakc_pb_socket.erl [JIRA: CLIENTS-545] Aug 20, 2015
@sata
Copy link
Author

sata commented Aug 20, 2015

The inconsistency is obvious when reviewing the riakc_obj export_types.

-export_type([riakc_obj/0, bucket/0, key/0, vclock/0, contents/0, metadata/0, value/0,
binary_index_id/0, binary_index/0, integer_index_id/0, integer_index/0,
secondary_index/0, metadata_key/0, metadata_value/0, metadata_entry/0]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants