Skip to content

Replace rest with graphql for theme level support #360

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

Open
wants to merge 6 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.

Kyon147
Kyon147 previously approved these changes Mar 25, 2025
@Kyon147
Copy link
Owner

Kyon147 commented Jul 16, 2025

@enmaboya can you just take a quick look at the conflicts and I will get this merged in to go with the next major release.

@enmaboya enmaboya force-pushed the replace_rest_with_graphql_for_theme_level_support branch from ee894b2 to 917cb23 Compare July 17, 2025 11:06
@enmaboya enmaboya force-pushed the replace_rest_with_graphql_for_theme_level_support branch from 41dd5b5 to f145bc2 Compare July 17, 2025 11:11
@enmaboya
Copy link
Contributor Author

@Kyon147 Conflicts resolved.

@icrotz
Copy link

icrotz commented Aug 11, 2025

@Kyon147 can you merge this ?

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

Successfully merging this pull request may close these issues.

4 participants