-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Set the correct length of parameters when constructing the Redis arguments #41838
Conversation
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.
Great catch!
Should we add a test? I'm wondering why this was not covered in the test suite.
This comment has been minimized.
This comment has been minimized.
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, though I agree a test would be nice.
@rubik-cube-man could you add a test? |
8a4610e
to
3b7f59b
Compare
Yeah, not a problem! Is this the kind of test that you had in mind? |
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
Status for workflow
|
Currently the arguments when constructing the PARAMS part of a redis query are incorrect.
queryArgs.param("key", "value")
currently results in:However, this change would correct it to construct:
I believe the unit tests happen to be passing by pure chance as they are constructing something similar to this at the moment: