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

LighthouseIntegration: Fix finding the operation definition node on the query #883

Merged
merged 2 commits into from Apr 17, 2024

Conversation

stayallive
Copy link
Collaborator

We assumed the operation definition node was the first node of the query, but when using fragments this isn't true and we need to look further to find it. This looks at all definitions in the query to find the operation definition.

Fixes #882

@stayallive stayallive self-assigned this Apr 12, 2024
@stayallive stayallive merged commit 3fd21f9 into master Apr 17, 2024
24 checks passed
@stayallive stayallive deleted the lighthouse-fix branch April 17, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LighthouseIntegration does not report all the traces to Sentry
2 participants