Skip to content
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

Allows #del to receive a Array(RedisValue). #105

Closed

Conversation

rodrigopinto
Copy link
Contributor

This PR is for allowing the method #del to receive an Array(RedisValue) and perform the deletes properly.

Issue:

When performing a search with the method #keys, it returns a list of keys as Array(RedisValue) and when trying to pass the returned array to the method #del it fails.

On the issue #100 I mentioned about the changing the return of the methods keys, but at looking into the API of the lib, it did not make sense as the issue was on a private method that required a simple overload and a internal casting of the keys to String as per redis implementation, the keys are binary-safe strings.

This PR fixes #100

@rodrigopinto
Copy link
Contributor Author

Hey @stefanwille, it seems you hadn't the proper time yet to look into the recent PR's. This one closes the issue 100 and the PR 101 and allows two other projects move forward.

Additionally, If I can support you with this shard, let me know.

Thanks for the hard work.

@kostya
Copy link
Collaborator

kostya commented Jul 5, 2021

this is in some way in master.

@kostya kostya closed this Jul 5, 2021
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.

Error: no overload matches 'Redis#namespaced' with type Array(Redis::RedisValue)
2 participants