-
Notifications
You must be signed in to change notification settings - Fork 332
Move to RedisString (trail 2) #420
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
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.
👍🏼 LGTM
arg if arg.eq_ignore_ascii_case("NX") && set_option == SetOptions::None => { | ||
set_option = SetOptions::NotExists | ||
} | ||
arg if arg.eq_ignore_ascii_case("XX") && set_option == SetOptions::None => { | ||
set_option = SetOptions::AlreadyExists | ||
} |
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.
NX
and XX
can now occur only once, but FORMAT
can still occur more times, taking its last value?
(consider adding a None
value also for FORMAT enum?)
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.
@oshadmi I didn't really deal with Format since we don't really support BSON yet, the all FORMAT thing needs a review
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.
👍🏼
Co-authored-by: Omer Shadmi <76992134+oshadmi@users.noreply.github.com>
ref #394