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

Add debug option to GraphQL requests #1327

Merged
merged 1 commit into from
Jul 10, 2024
Merged

Conversation

paulomarg
Copy link
Contributor

Description

Currently, the GraphQL client doesn't allow adding the ?debug=true search parameter when making requests, which enables Shopify to better debug those requests.

This PR adds support for that parameter to the query method in the GraphQL clients.

How has this been tested?

Unit tests locally, and investigating logs in an actual app to ensure the parameter was there.

Checklist:

  • My commit message follow the pattern described in here
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added a changelog line.

@paulomarg paulomarg requested a review from a team as a code owner July 9, 2024 18:29
@paulomarg paulomarg merged commit c029d8a into main Jul 10, 2024
9 checks passed
@paulomarg paulomarg deleted the add_debug_graphql_option branch July 10, 2024 13:22
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.

None yet

2 participants