-
Notifications
You must be signed in to change notification settings - Fork 260
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
Last into_future
#677
Last into_future
#677
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had one question, but other than that this looks good!
impl Request { | ||
fn new(uri: Uri, method: Method, headers: HeaderMap, body: Body) -> Self { | ||
Self { | ||
uri, | ||
method, | ||
headers, | ||
body, | ||
} | ||
} | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, it took me a sec to realize this had just been moved to core/src/request.rs
. That seems good.
const AZURE_VERSION: &str = "2018-12-31"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did this go? Has this been replaced by something else?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done in the telemetry_policy
now (not a part of this PR). This can be removed since now everything goes through the pipeline and the telemetry policy will be used.
Finishes the work started in #510 moving to a builder style
into_future
pattern.This also completes #290 moving all operations in Cosmos over to the pipeline architecture.