Skip to content

Capture GraphQL client errors #2243

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

Merged
merged 43 commits into from
Jul 20, 2023
Merged

Capture GraphQL client errors #2243

merged 43 commits into from
Jul 20, 2023

Conversation

sentrivana
Copy link
Contributor

@sentrivana sentrivana commented Jul 12, 2023

Inspect requests done with our HTTP client integrations (stdlib, httpx, aiohttp), identify GraphQL requests, and capture a specialized error event if the response from the server contains a non-empty errors array.

Closes #2198

@sentrivana
Copy link
Contributor Author

Open question: should this be opt-in and hidden behind a client option?

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing Work @sentrivana !

@sentrivana sentrivana marked this pull request as ready for review July 14, 2023 15:31
@sentrivana sentrivana marked this pull request as draft July 14, 2023 15:33
@sentrivana sentrivana marked this pull request as ready for review July 17, 2023 15:03
@antonpirker antonpirker self-requested a review July 20, 2023 08:26
Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 lgtm :shipit:

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now the right checkbox selected :-)

@antonpirker antonpirker enabled auto-merge (squash) July 20, 2023 08:27
@antonpirker antonpirker merged commit 5199d54 into master Jul 20, 2023
@antonpirker antonpirker deleted the ivana/graphql branch July 20, 2023 08:32
sentrivana added a commit that referenced this pull request Aug 1, 2023
sentrivana added a commit that referenced this pull request Aug 1, 2023
* Revert "Fix GraphQL integration swallowing responses (#2286)"

This reverts commit e918504.

* Revert "Capture GraphQL client errors (#2243)"

This reverts commit 5199d54.
@sentrivana sentrivana mentioned this pull request Aug 2, 2023
1 task
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.

GraphQL Connected Services
2 participants