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

🔧 chore(integrations): start consolidating provider enum #88273

Merged
merged 1 commit into from
Apr 1, 2025

Conversation

iamrajjoshi
Copy link
Member

@iamrajjoshi iamrajjoshi commented Mar 28, 2025

first part of consolidating all the provider enums

Here I convert enums to StrEnum since it easier to use and u don't have to remember to do .value during comparisons.

I also build ExternalProviderEnum from IntegrationProviderSlug.

After this, we can start consolidation of the enums

closes https://linear.app/getsentry/issue/ECO-378/have-externalproviderenum-use-integrationproviderslug

@iamrajjoshi iamrajjoshi self-assigned this Mar 28, 2025
@iamrajjoshi iamrajjoshi requested review from a team as code owners March 28, 2025 22:01
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 28, 2025
@iamrajjoshi iamrajjoshi merged commit d4374c8 into master Apr 1, 2025
49 of 50 checks passed
@iamrajjoshi iamrajjoshi deleted the raj/consolidate-provider-slug branch April 1, 2025 21:59
iamrajjoshi added a commit that referenced this pull request Apr 2, 2025
…r_slug` (#88286)

builds on #88273

removing the `str` usage for a `StrEnum`
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
first part of consolidating all the provider enums

Here I convert enums to `StrEnum` since it easier to use and u don't
have to remember to do `.value` during comparisons.

I also build `ExternalProviderEnum` from `IntegrationProviderSlug`. 

After this, we can start consolidation of the enums

closes
https://linear.app/getsentry/issue/ECO-378/have-externalproviderenum-use-integrationproviderslug
andrewshie-sentry pushed a commit that referenced this pull request Apr 8, 2025
…r_slug` (#88286)

builds on #88273

removing the `str` usage for a `StrEnum`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants