Skip to content

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

Merged
merged 8 commits into from
Jul 7, 2021
Merged

Move to RedisString (trail 2) #420

merged 8 commits into from
Jul 7, 2021

Conversation

gkorland
Copy link
Contributor

@gkorland gkorland commented Jul 6, 2021

ref #394

oshadmi
oshadmi previously approved these changes Jul 6, 2021
Copy link
Collaborator

@oshadmi oshadmi left a comment

Choose a reason for hiding this comment

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

👍🏼 LGTM

oshadmi
oshadmi previously approved these changes Jul 7, 2021
Comment on lines +509 to +514
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
}
Copy link
Collaborator

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?)

Copy link
Contributor Author

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

@gkorland gkorland requested a review from oshadmi July 7, 2021 11:03
oshadmi
oshadmi previously approved these changes Jul 7, 2021
Copy link
Collaborator

@oshadmi oshadmi left a 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>
@gkorland gkorland merged commit 8de09a4 into master Jul 7, 2021
@gkorland gkorland deleted the feature-redisstring2 branch July 7, 2021 12:32
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