Skip to content

refactor: simplify and qualify backend and HTTP client names - #332

Draft
danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:refactor/backend-http-client-names
Draft

danieleades wants to merge 1 commit into
httpmock:masterfrom
danieleades:refactor/backend-http-client-names

Conversation

@danieleades

@danieleades danieleades commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Internal backend and HTTP client names repeat their module context. This change renames api::adapter to api::backend and common::http to common::http_client, using qualified names such as backend::Remote, backend::Backend and http_client::Client at call sites. It also removes redundant Error suffixes from backend error variants.

This is the deferred portion of #290, kept as a draft until the overlapping internal work mentioned in the review comment has settled. The shorter backend and client names remain a proposal for later discussion. This is not intended for 0.9.

All changed items are private implementation details; public APIs and behaviour are unchanged. The matcher changes are isolated in #290, and the two PRs are independent.

Validation: cargo +stable test --offline --all-features (142 library tests, 149 integration tests and 136 doctests passed; 4 integration tests ignored), cargo +stable clippy --offline --all-targets --all-features, and cargo +stable fmt --all -- --check.

@danieleades
danieleades force-pushed the refactor/backend-http-client-names branch from 8cd8c60 to 6a54363 Compare October 22, 2026 18:16
@FalkWoldmann

Copy link
Copy Markdown
Member

hi @danieleades this is still in draft. Do u think it could be ready as a proper PR? :)

This branch has not been deployed

No deployments
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