Skip to content

Move to RedisString (trail 2) - #420

Merged
gkorland merged 8 commits into
masterfrom
feature-redisstring2
Jul 7, 2021
Merged

gkorland merged 8 commits into
masterfrom
feature-redisstring2

Conversation

@gkorland

@gkorland gkorland commented Jul 6, 2021 •

Copy link
Copy Markdown
Contributor

ref #394

oshadmi
oshadmi previously approved these changes Jul 6, 2021

@oshadmi oshadmi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍🏼 LGTM

Comment thread src/commands.rs Resolved
oshadmi
oshadmi previously approved these changes Jul 7, 2021
Comment thread src/commands.rs
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
Copy Markdown
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
Copy Markdown
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

@oshadmi oshadmi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

👍🏼

Comment thread Cargo.toml Resolved
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