Skip to content

Conversation

clue
Copy link
Contributor

@clue clue commented Jul 15, 2025

This changeset updates the MysqlClient 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 clue/reactphp-redis#163, #203, #186, #141, #135 and others
Refs #147

@clue clue added this to the v0.7.0 milestone Jul 15, 2025
@clue clue requested review from WyriHaximus and PaulRotmann July 15, 2025 07:40
Copy link
Contributor

@PaulRotmann PaulRotmann left a comment

Choose a reason for hiding this comment

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

LGTM

@WyriHaximus WyriHaximus merged commit 87fb39e into friends-of-reactphp:0.7.x Jul 15, 2025
17 checks passed
@clue clue deleted the validate-uri branch July 15, 2025 14:23
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.

3 participants