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

Beta: Stripe.rawRequest -> StripeClient.rawRequest #1728

Merged
merged 14 commits into from
Jan 18, 2024

Conversation

richardm-stripe
Copy link
Contributor

@richardm-stripe richardm-stripe commented Jan 17, 2024

Summary

This PR copies Stripe.rawRequest to StripeClient.rawRequest and deprecates the former. The only difference is that StripeClient.rawRequest is an instance method and uses this.getStripeResponseGetter() vs. the global responseGetter.

It also copies Stripe.deserialize to StripeClient.deserialize.

Motivation

I figured I would do this in advance of adding usage to .rawRequest.

@richardm-stripe richardm-stripe changed the base branch from master to beta January 17, 2024 21:29
@richardm-stripe richardm-stripe requested review from a team and pakrym-stripe and removed request for a team January 17, 2024 22:08
Copy link
Contributor

@pakrym-stripe pakrym-stripe left a comment

Choose a reason for hiding this comment

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

I'm not sure if we are flowing the response getter correctly

Copy link
Contributor

@pakrym-stripe pakrym-stripe left a comment

Choose a reason for hiding this comment

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

@richardm-stripe richardm-stripe merged commit 5070316 into beta Jan 18, 2024
10 checks passed
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