Skip to content

Conversation

@martinekvili
Copy link
Contributor

Redis 6.2.0 has deprecated the GETSET command and in turn added the GET option to the SET command.

Note: I am not 100% happy with the StringSetAndGet method name. However, I am quite torn, as it would be nice to call it StringGetSet to better show the intent and the deprecation of the old method. On the other hand, I quite like how this driver follows the names of the underlying Redis commands quite closely. The current name tries to follow that convention.

Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

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

I see some quick doc fixes but this is looking excellent, thank you! I need to poke a bit more with fresh eyes but I think we're good - 👍 from me on current naming.

@NickCraver NickCraver self-requested a review February 22, 2022 23:19
Copy link
Collaborator

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

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

I've touched this so should get extra eyes /cc @mgravell

@NickCraver NickCraver merged commit 511ba10 into StackExchange:main Feb 25, 2022
@NickCraver
Copy link
Collaborator

@martinekvili thanks for this!!

@NickCraver NickCraver mentioned this pull request Mar 2, 2022
@martinekvili martinekvili deleted the feature-setandget branch March 12, 2022 10:38
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