-
Notifications
You must be signed in to change notification settings - Fork 130
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 support GetMultipleKeys #148
Conversation
1ed2041
to
f5d3f0a
Compare
2ed9084
to
587d79d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not very keen on the naming in the public API. I wonder if either GetStates()
or GetMultipleStates()
would be more straightforward?
From a user perspective, perhaps a varargs keys ...string
parameter would be easier to use than requiring them to construct a slice. What do you think? Do we expect the application code to typically already have the keys they want in a slice, or are we forcing them to create a slice unnecessarily by having a slice parameter?
Didn't think about it. But if you think it is better to rename it to Rearranging to |
587d79d
to
7119369
Compare
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there supposed to be a "multiple" variant of GetPrivateDataHash
too?
4f1f35b
to
376b5b0
Compare
@bestbeforetoday There are or will be more comments? |
b100d49
to
7114542
Compare
7114542
to
fb8b2bd
Compare
@denyeart I think we're ready to finalise these changes. |
Signed-off-by: Fedor Partanskiy <[email protected]>
fb8b2bd
to
b8341ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@denyeart please make a release |
hyperledger/fabric#5116