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

feat: add SMISMEMBER command #1002

Merged
merged 2 commits into from
Dec 12, 2023
Merged

feat: add SMISMEMBER command #1002

merged 2 commits into from
Dec 12, 2023

Conversation

Zacaria
Copy link
Contributor

@Zacaria Zacaria commented Dec 11, 2023

Hello

I have just found that the command SMISMEMBERS is missing from the lib.

I think it can be great for checking presence of multiple members with one network connection.

As I didn't found a Contributing section, I'm naively proposing this change.

Please do not hesitate to tell me what changes are needed along with my initial commit.

Please note that SMISMEMBERS appears at redis version 6.2.0

@nihohit
Copy link
Contributor

nihohit commented Dec 11, 2023

thanks for the addition!
can you please add a test?

@Zacaria
Copy link
Contributor Author

Zacaria commented Dec 12, 2023

Hi of course here's the test

I tried to run tests without installing redis directly on my mac.

I couldn't do it even using a redis container exposing the redis-server command. I couldn't load librejson.dylib. The error always said that the file doesn't exist.

If you know how to solve this mystery I'm interested :)

@nihohit
Copy link
Contributor

nihohit commented Dec 12, 2023

Well, if the tests before the JSON module tests passed, that's good enough. If you want to be able to run all tests, you'll need to build the JSON module library - see https://github.com/redis-rs/redis-rs/blob/main/README.md#development.

Please fix the lint issues.

@nihohit nihohit merged commit 3e6dc2e into redis-rs:main Dec 12, 2023
10 checks passed
@FallingSnow
Copy link

Do we close #797 and #832?

@nihohit
Copy link
Contributor

nihohit commented Dec 22, 2023

Do we close #797 and #832?

yes, thanks for pointing them out.

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

Successfully merging this pull request may close these issues.

None yet

3 participants