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

Add keyPrefix to mDel, mGet and ttl, Change clusterStore options type to include customOptions and readd cluster tests #765

Conversation

Davrosh
Copy link

@Davrosh Davrosh commented Sep 6, 2024

I needed keyPrefix for ttl and for keyPrefix to be available in my editor's type hints when using clusterStore.
What I fixed is listed below, but if you can help me get just those changes out, I'd be grateful (also @jaredwray let me know if you'd like me to submit a smaller PR with just those few changes if this is too much or not).

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines.
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage. (All the features I've added or fixed should be covered)
  • [] Docs have been added / updated (for bug fixes / features) (I didn't find relevant data in the docs about redis store so I didn't add)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Add keyPrefix to mDel, mGet and ttl
Change clusterStore options type to include customOptions to allow for keyPrefix in intellisense Add tests for keyPrefix coverage
Readd the already existing cluster tests file (it didn't get to run before): use {} to avoid CROSSSLOT errors and change the compose file to create a single node cluster for the sake of testing

Change clusterStore options type to include customOptions to allow for keyPrefix in intellisense
Add tests for keyPrefix coverage
Readd the already existing cluster tests file: use {} to avoid CROSSSLOT errors and change the compose file to create a single node cluster for the sake of testing
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