Skip to content

Conversation

@cosmastech
Copy link
Contributor

@cosmastech cosmastech commented Dec 11, 2025

While we can add middleware to the Guzzle stack, it doesn't actually build the Response object, which I would like to inspect and mutate.

  1. I want to record GraphQL query costs only for Shopify requests. I could add a listener for this, but then it's an extra function call for requests which are not for Shopify.
  2. I want to be able to leverage macros and all of the other niceties offered by the Illuminate Client\Request object, rather than mucking with the Guzzle handler.

@cosmastech cosmastech marked this pull request as draft December 11, 2025 13: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.

1 participant