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

ref(gql): Use new scopes API in GQL Integration #2838

Merged
merged 26 commits into from
Mar 19, 2024

Conversation

szokeasaurusrex
Copy link
Member

No description provided.

@szokeasaurusrex szokeasaurusrex self-assigned this Mar 18, 2024
@szokeasaurusrex szokeasaurusrex removed their assignment Mar 18, 2024
Base automatically changed from szokeasaurusrex/sentry_patched_decorator to sentry-sdk-2.0 March 19, 2024 08:54
@szokeasaurusrex szokeasaurusrex self-assigned this Mar 19, 2024
@szokeasaurusrex szokeasaurusrex changed the title WIP: Use new scopes API in GQL Integration ref(gql): Use new scopes API in GQL Integration Mar 19, 2024
@szokeasaurusrex szokeasaurusrex marked this pull request as ready for review March 19, 2024 10:48
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.

When possible we should always use sentry_sdk.* to call the top level apis, because then you always get the right scope or client.

sentry_sdk/integrations/gql.py Outdated Show resolved Hide resolved
sentry_sdk/integrations/gql.py Show resolved Hide resolved
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.

looks good!

@szokeasaurusrex szokeasaurusrex merged commit 37d07f0 into sentry-sdk-2.0 Mar 19, 2024
111 checks passed
@szokeasaurusrex szokeasaurusrex deleted the szokeasaurusrex/gql-new-scope-api branch March 19, 2024 15:41
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.

2 participants