-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Change Resolve
to alias Service
#1903
Labels
Milestone
Comments
seanmonstar
added
A-client
Area: client.
E-medium
Effort: medium. Some knowledge of how hyper internal works would be useful.
labels
Aug 17, 2019
Now that #1792 is closed, what do you have in mind by "basically an alias"? I assume this isn't referring to waiting for rust-lang/rust#41517 , so what should |
It'd be similar to |
seanmonstar
added a commit
that referenced
this issue
Nov 12, 2019
Closes #1903 BREAKING CHANGE: The `Resolve` trait is gone. All custom resolves should implement `tower::Service` instead. The error type of `HttpConnector` has been changed away from `std::io::Error`.
seanmonstar
added a commit
that referenced
this issue
Nov 12, 2019
Closes #1903 BREAKING CHANGE: The `Resolve` trait is gone. All custom resolves should implement `tower::Service` instead. The error type of `HttpConnector` has been changed away from `std::io::Error`.
seanmonstar
added a commit
that referenced
this issue
Nov 12, 2019
Closes #1903 BREAKING CHANGE: The `Resolve` trait is gone. All custom resolves should implement `tower::Service` instead. The error type of `HttpConnector` has been changed away from `std::io::Error`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After #1782 is done, the
Resolve
trait should be changed to basically an alias for aService<Name>
. This would allow more composability, being able to use ServiceExt to customize resolvers.The text was updated successfully, but these errors were encountered: