Skip to content

Conversation

dalaoqi
Copy link
Contributor

@dalaoqi dalaoqi commented Apr 16, 2025

Closes #828

… commands

Signed-off-by: Tsung-Han Ho (dalaoqi) <mystes3016@gmail.com>
@dalaoqi dalaoqi marked this pull request as ready for review April 16, 2025 18:23
@dalaoqi
Copy link
Contributor Author

dalaoqi commented Apr 16, 2025

@rueian , please take a look. thanks


func (c *Compat) HGetEXWithArgs(ctx context.Context, key string, options *HGetEXOptions, fields ...string) *StringSliceCmd {
var cmd rueidis.Completed
if options.ExpirationType == HGetEXExpirationEX {
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if the options == nil?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think options == nil is more similar to the situation with HGetEX?

@dalaoqi dalaoqi requested a review from rueian April 17, 2025 17:30
Copy link
Collaborator

@rueian rueian left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @dalaoqi!

@rueian rueian merged commit 9a2b170 into redis:main Apr 17, 2025
34 checks passed
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.

Add new HGETDEL, HGETEX, HSETEX to rueidiscompat
2 participants