- Issue created by @brianperry
- Status changed to Active
7 months ago 12:03am 6 May 2024
In some cases, it may be required to get back the raw response from Drupal instead of only the json so that headers or other parts of the request can be used if needed.
An option to the get method of the GraphqlClient to return the raw response.
Should be similar to json-api-client implementation. See https://www.drupal.org/project/api_client/issues/3391668 β
* Implement changes.
* Add test coverage.
* Update documentation.
the query method options in the GraphqlClient adds a rawResponse option that is a boolean which defaults to false
Active
Code