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

Replace rest with graphql for theme level support #360

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

enmaboya
Copy link
Contributor

@enmaboya enmaboya commented Nov 7, 2024

The reason for switching from REST to GraphQL is the same as with access scopes. REST is deprecated. Additionally, REST is redundant; it retrieves too much data, making it roughly three times slower than GraphQL in this case. Moreover, I strongly doubt that the theme helper service was used by anyone or anywhere outside the package.

@enmaboya enmaboya marked this pull request as ready for review November 7, 2024 14:42
@Nikolow
Copy link

Nikolow commented Nov 19, 2024

VerifyScopes middleware + ApiHelper from Services is also using REST API for activateCharge, createCharge and createUsageCharge

@Kyon147
Copy link
Owner

Kyon147 commented Dec 4, 2024

@enmaboya I am going to get this tested and deployed next week.

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.

3 participants