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

Make RedisClient constructor throw if given $uri is invalid #163

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

clue
Copy link
Owner

@clue clue commented Dec 27, 2024

This changeset updates the RedisClient constructor to throw if the given $uri is invalid. Previously, it would only reject on the next command invoked on this instance. Moving this logic to the constructor makes it easier to detect invalid URIs for consumers of this API and should not otherwise affect "normal" operation in any way.

Builds on top of #162, #139, #129, #116 and #70
Refs #118

@clue clue merged commit 3f518cc into clue:3.x Dec 27, 2024
16 checks passed
@clue clue deleted the validate-uri branch December 27, 2024 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant