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

Support SMISMEMBER #2077

Merged
merged 15 commits into from
Apr 12, 2022
Merged

Support SMISMEMBER #2077

merged 15 commits into from
Apr 12, 2022

Conversation

Avital-Fine
Copy link
Contributor

Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spotted a few things cross-PR in reviewing these, notes inline! Thanks again, these PRs are fantastic and you're cranking 'em out <3

Comment on lines 1111 to 1114
/// <returns>
/// <see langword="true"/> if the element is a member of the set.
/// <see langword="false"/> if the element is not a member of the set, or if key does not exist.
/// </returns>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case doc should say an array of these true/false, matching position, e.g.

Suggested change
/// <returns>
/// <see langword="true"/> if the element is a member of the set.
/// <see langword="false"/> if the element is not a member of the set, or if key does not exist.
/// </returns>
/// <returns>
/// An array of booleans corresponding to <paramref name="values"/>, for each:
/// <see langword="true"/> if the element is a member of the set.
/// <see langword="false"/> if the element is not a member of the set, or if key does not exist.
/// </returns>

What happens when the key isn't present, all falses?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

tests/StackExchange.Redis.Tests/Sets.cs Outdated Show resolved Hide resolved
tests/StackExchange.Redis.Tests/Sets.cs Outdated Show resolved Hide resolved
src/StackExchange.Redis/ResultProcessor.cs Outdated Show resolved Hide resolved
src/StackExchange.Redis/ResultProcessor.cs Outdated Show resolved Hide resolved
Avital-Fine and others added 4 commits April 11, 2022 09:58
Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good - thank you for this!

@NickCraver
Copy link
Collaborator

Pushed one last tidy on the tests, we should nuke the key when starting to ensure a consistent test run - after that clears will merge in.

@Avital-Fine
Copy link
Contributor Author

Pushed one last tidy on the tests, we should nuke the key when starting to ensure a consistent test run - after that clears will merge in.

Right 😅

@NickCraver NickCraver merged commit 0e9e698 into StackExchange:main Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants