-
Notifications
You must be signed in to change notification settings - Fork 473
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
Implement the RESP3 null for the nil string and array #2017
Conversation
This PR involves many files, but most of them are renaming the function. |
b5881ee
to
3df2070
Compare
86963fc
to
a49c7fb
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. Good job, @git-hulk !
For the null type in RESP2, the nil string is represented by `$-1\r\n` and nil array is `*-1\r\n`. But after RESP3, they will be reduced into an unify string `_\r\n`. So in this PR, most of them are renamed redis::MultiBulkString/Redis::NilString to connection::MultiBulkString and connection::NilString.
a49c7fb
to
e239e83
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 1 New issue |
Thanks for @torwig @PragmaTwice review. |
For the null type in RESP2, the nil string is represented by
$-1\r\n
and nil array is
*-1\r\n
. But after RESP3, they will be reduced intoa unified string
_\r\n
. So in this PR, most of them are renamed redis::MultiBulkString/Redis::NilString to connection::MultiBulkString and connection::NilString.This closes #1993