Skip to content
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

Made DeserializeResponseBody asynchronous Fixes #455 #528

Merged
merged 1 commit into from
Oct 31, 2017

Conversation

Gimly
Copy link
Contributor

@Gimly Gimly commented Sep 30, 2017

Issue #455 asked to add ConfigureAwait(false) to the DeserializeResponseBody's call to ReadAsStringAsync. Since that call was synchronous (with Result) the only reason to add the ConfigureAwait(false) was to make it async. This means also changing the method's name to be coherent with the rest of the library.

Fixes issue #455

Issue sendgrid#455 asked to add `ConfigureAwait(false)` to the  DeserializeResponseBody's call to ReadAsStringAsync. Since that call was synchronous (with Result) the only reason to add the ConfigureAwait(false) was to make it async. This means also changing the method's name to be coherent with the rest of the library.

Fixes issue sendgrid#455
@thinkingserious thinkingserious added difficulty: easy fix is easy in difficulty hacktoberfest status: code review request requesting a community code review or review from Twilio labels Sep 30, 2017
@thinkingserious thinkingserious merged commit 0af6b0a into sendgrid:master Oct 31, 2017
@thinkingserious
Copy link
Contributor

Hello @Gimly,

Thanks again for the PR!

It's HACKTOBERFEST! We want to show our appreciation by sending you some special Hacktoberfest swag. If you have not already, could you please fill out this form so we can send it to you? Thanks!

Team SendGrid DX

@Gimly Gimly deleted the 455-AddConfigureAwait branch October 31, 2017 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy fix is easy in difficulty status: code review request requesting a community code review or review from Twilio
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants