Skip to content

Conversation

isabelatkinson
Copy link
Contributor

No description provided.

.build()
.map_err(|e| Error::internal(format!("error initializing http client: {}", e)))?;
Ok(Self { inner })
pub(crate) struct HttpRequest {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I refactored this file to match the design of reqwest's corresponding objects -- this made it easier to support queries without needing to pass None to all the existing HTTP requests in our code and to deserialize to arbitrary types.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is way nicer, thank you.


source .evergreen/configure-rust.sh
rustup toolchain install nightly -c rustfmt
rustup default 1.69
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

temporary fix to remove CI noise

@isabelatkinson isabelatkinson marked this pull request as ready for review June 5, 2023 22:06
@isabelatkinson isabelatkinson requested a review from abr-egn June 5, 2023 22:06
Copy link
Contributor

@abr-egn abr-egn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

.build()
.map_err(|e| Error::internal(format!("error initializing http client: {}", e)))?;
Ok(Self { inner })
pub(crate) struct HttpRequest {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is way nicer, thank you.

@isabelatkinson isabelatkinson merged commit b6344d2 into mongodb:main Jun 7, 2023
@isabelatkinson isabelatkinson deleted the aws-iam-roles branch June 21, 2023 20:12
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