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

Remove rawrequest Post, Get, and Delete #1933

Merged
merged 3 commits into from
Oct 8, 2024
Merged

Conversation

jar-stripe
Copy link
Contributor

@jar-stripe jar-stripe commented Oct 8, 2024

Why?

The rawrequests functions for Post, Get, and Delete methods rely on global configuration which can be cumbersome when using these methods to call /v2/ APIs. Instead, the recommendation is to use the client model (introduced in #1929) which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.

What?

  • removes rawrequest Post, Get, and Delete
  • updates tests
  • updates README.md

See also

This is a follow up to #1929

Changelog

The individual rawrequests functions for Post, Get, and Delete methods are removed in favor of the client model which allows local configuration of backend and api key, which enables more flexible calls to new/preview/unsupported APIs.

@jar-stripe jar-stripe merged commit 2e92acc into master Oct 8, 2024
12 checks passed
@jar-stripe jar-stripe deleted the jar/rawrequest-cleanup branch October 8, 2024 23:19
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