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

Script object from hash #1066

Open
tomers opened this issue Mar 5, 2024 · 0 comments
Open

Script object from hash #1066

tomers opened this issue Mar 5, 2024 · 0 comments

Comments

@tomers
Copy link

tomers commented Mar 5, 2024

When instantiating Script object, one must supply the script's code (pub fn new(code: &str) -> Script).
However, my use case is that a script is already loaded, and it's hash is given, and I need to call it. Surprisingly, there is no API to create Script object given that hash.

tomers added a commit to tomers/redis-rs that referenced this issue Mar 5, 2024
Allow for instantiation of a Script object given a hash.
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

No branches or pull requests

1 participant