Skip to content

Conversation

LukasKalbertodt
Copy link
Contributor

All responses were created from strings anyway (via Body::from), but String implements the Body trait directly. With this change, it is easy to inspect the response body, which is not true for Body.

Fixes #1096

All responses were created from strings anyway (via `Body::from`), but
`String` implements the `Body` trait directly. With this change, it is
easy to inspect the response body, which is not true for `Body`.

Fixes graphql-rust#1096
@LukasKalbertodt
Copy link
Contributor Author

The single CI failure is not caused by the changes and needs to be restarted.

@tyranron tyranron added enhancement Improvement of existing features or bugfix semver::breaking Breaking change in terms of SemVer k::integration Related to integration with third-party libraries or systems labels Sep 19, 2022
@tyranron tyranron added this to the 0.16.0 milestone Sep 19, 2022
Copy link
Member

@tyranron tyranron left a comment

Choose a reason for hiding this comment

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

@tyranron tyranron enabled auto-merge (squash) September 19, 2022 15:08
@tyranron tyranron disabled auto-merge September 19, 2022 15:09
@tyranron tyranron enabled auto-merge (squash) September 19, 2022 15:09
@tyranron tyranron merged commit e0ddeec into graphql-rust:master Sep 19, 2022
@LukasKalbertodt LukasKalbertodt deleted the improve-hyper-body-type branch September 23, 2022 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing features or bugfix k::integration Related to integration with third-party libraries or systems semver::breaking Breaking change in terms of SemVer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return Response<String> instead of Response<Body> in hyper integration
2 participants