Skip to content

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented Sep 24, 2022

@vmihailenco perhaps more tests are required. I don't find a good place to add more.

Style changes are due to auto formatter, pending to revert.

This closes #2218.

Comment on lines +14 to +15
EvalRO(ctx context.Context, script string, keys []string, args ...interface{}) *Cmd
EvalShaRO(ctx context.Context, sha1 string, keys []string, args ...interface{}) *Cmd
Copy link
Contributor Author

@tisonkun tisonkun Sep 24, 2022

Choose a reason for hiding this comment

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

I checked interface changes for Scripter and Cmdable don't affect implementation within go-redis, but changing interfaces can always affect its outside implementations...

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks, this looks safe enough especially for v8.

Signed-off-by: tison <wander4096@gmail.com>
@vmihailenco
Copy link
Collaborator

Looks good, thanks 👍

@vmihailenco vmihailenco merged commit be25907 into redis:master Oct 4, 2022
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.

Support EVAL_RO and EVALSHA_RO
2 participants