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:
[x] My commit message follow the pattern described in here
[x] I have performed a self-review of my own code.
[x] I have added tests that prove my fix is effective or that my feature works.
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: