Skip to content

chore: improve sqlx maintenance path#4272

Closed
oab24413gmai wants to merge 1 commit into
launchbadge:mainfrom
oab24413gmai:maint/20260522022416
Closed

chore: improve sqlx maintenance path#4272
oab24413gmai wants to merge 1 commit into
launchbadge:mainfrom
oab24413gmai:maint/20260522022416

Conversation

@oab24413gmai
Copy link
Copy Markdown

Summary:

  • Add focused unit tests for the Display/Debug formatting of sqlx_core::error::Error variants (including the configuration, protocol, and io-error wrappers) to lock in the human-readable messages and prevent silent regressions when variants are added or renamed.
  • Keep the change narrow so it is straightforward to review.

Notes:

  • I kept this scoped to the relevant implementation and tests.

@abonander
Copy link
Copy Markdown
Collaborator

The string formatting of errors is not meant to be stable. That's why the enum variants are exposed, so you can match on them.

@abonander abonander closed this May 23, 2026
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