-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Change Resolve
to alias Service
#1903
Labels
Milestone
Comments
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`.
# for free
to join this conversation on GitHub.
Already have an account?
# 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: