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

Fix #1008: HSET is replacing HMSET #1012

Closed
wants to merge 6 commits into from

Conversation

mskuybeda
Copy link
Contributor

I have added functionality to ioredis to support HSET the same way as HMSET. Please Review

@mskuybeda
Copy link
Contributor Author

About checks not passed, I am not sure why, but issues rise in the files I did not touch. Could you please check what is going on

lib/command.ts Outdated Show resolved Hide resolved
});
});
});
it("should affect the old way", function(done) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I guess you mean "should not" here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, the whole point was to make hset act the same way as hmset. According to documentation.

@luin
Copy link
Collaborator

luin commented Nov 28, 2019

Thank you for the contribution. The tests are failed. Could you fix it please?

@mskuybeda
Copy link
Contributor Author

Failed tests are in master and not in the files I changed. I will take a look into what causes them, but I am not sure I will have time to fix them this week at least. Probably will file another issue. I forgot to remove logs, my bad. I will work on the stated changes a bit later today. Thanks for your reply.

@luin
Copy link
Collaborator

luin commented Nov 28, 2019

@mskuybeda You're right. I did a quick look and created a fix. Please rebase the latest commit on the master branch.

@luin
Copy link
Collaborator

luin commented Nov 29, 2019

Cherry-picked to the master branch. Thank you for the contribution!

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.

2 participants