Repository navigation
refactor: simplify and qualify backend and HTTP client names - #332
Draft
danieleades wants to merge 1 commit into
Draft
danieleades wants to merge 1 commit into
danieleades wants to merge 1 commit into
Conversation
danieleades
force-pushed
the
refactor/backend-http-client-names
branch
from
October 20, 2026 18:56
cd739fc to
8cd8c60
Compare
danieleades
force-pushed
the
refactor/backend-http-client-names
branch
from
October 22, 2026 18:16
8cd8c60 to
6a54363
Compare
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Internal backend and HTTP client names repeat their module context. This change renames
api::adaptertoapi::backendandcommon::httptocommon::http_client, using qualified names such asbackend::Remote,backend::Backendandhttp_client::Clientat call sites. It also removes redundantErrorsuffixes 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, andcargo +stable fmt --all -- --check.