Skip to content

Validate passed-in Redis clients #296

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

Merged
merged 4 commits into from
Mar 21, 2025
Merged

Conversation

abrookins
Copy link
Collaborator

Prior to RedisVL 0.4.0, we validated passed-in Redis clients when the user called set_client(). This PR reintroduces similar behavior by validating all clients, whether we created them or not, on first access through the lazy-client mechanism.

Closes RAAE-694.

@tylerhutcherson tylerhutcherson self-requested a review March 20, 2025 18:43
@tylerhutcherson tylerhutcherson added the enhancement New feature or request label Mar 20, 2025
@abrookins abrookins added the bug Something isn't working label Mar 20, 2025
Copy link
Collaborator

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

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

LGTM

@tylerhutcherson tylerhutcherson removed the enhancement New feature or request label Mar 21, 2025
@tylerhutcherson tylerhutcherson merged commit 29cb397 into main Mar 21, 2025
36 checks passed
@tylerhutcherson tylerhutcherson deleted the fix/RAAE-694-fix-validation branch March 21, 2025 12:41
bsbodden pushed a commit that referenced this pull request Mar 25, 2025
Prior to RedisVL 0.4.0, we validated passed-in Redis clients when the
user called `set_client()`. This PR reintroduces similar behavior by
validating all clients, whether we created them or not, on first access
through the lazy-client mechanism.

Closes RAAE-694.
justin-cechmanek pushed a commit that referenced this pull request Apr 2, 2025
Prior to RedisVL 0.4.0, we validated passed-in Redis clients when the
user called `set_client()`. This PR reintroduces similar behavior by
validating all clients, whether we created them or not, on first access
through the lazy-client mechanism.

Closes RAAE-694.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants