Skip to content

Remove custom data #538

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

Merged
merged 4 commits into from
Mar 20, 2019
Merged

Remove custom data #538

merged 4 commits into from
Mar 20, 2019

Conversation

mediumTaj
Copy link
Contributor

Summary

This pull request removes dependency of a customData object. Custom request headers are no set directly on the service instance for the call. Response headers and response json are returned in the DetailedResponse object.

@mediumTaj mediumTaj requested a review from mamoonraja March 19, 2019 14:16
@mediumTaj mediumTaj changed the title Feature v3 remove custom data Remove custom data Mar 19, 2019
Copy link
Member

@mamoonraja mamoonraja left a comment

Choose a reason for hiding this comment

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

Looks good overall, left one comment and we are talking about removing partial already.

customData.Add(Constants.String.JSON, tm.Text);
if (tm.Headers != null && tm.Headers.Count > 0)
customData.Add(Constants.String.RESPONSE_HEADERS, tm.Headers);
//Dictionary<string, object> customData = new Dictionary<string, object>();
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we just remove this part instead of commenting it out.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok I removed the block

@mediumTaj mediumTaj merged commit 97794aa into v3.0.0 Mar 20, 2019
@mediumTaj mediumTaj deleted the feature-v3-remove-custom-data branch March 21, 2019 14:07
@mediumTaj
Copy link
Contributor Author

🎉 This PR is included in version 3.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants