Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

batches: properly name GitHupAppDomain constants for github apps#52898

Merged
BolajiOlajide merged 1 commit into
batches/commit-signingfrom
bo/update-github-apps-domain-variable
Jun 4, 2023
Merged

batches: properly name GitHupAppDomain constants for github apps#52898
BolajiOlajide merged 1 commit into
batches/commit-signingfrom
bo/update-github-apps-domain-variable

Conversation

@BolajiOlajide

Copy link
Copy Markdown
Contributor

We have a named type called GitHubAppDomain. However, the constants that we create of the named type are called Domain; this can lead to confusion in the future when there's a named type called Domain.

I've renamed BatchesDomain and ReposDomain to BatchesGitHubAppDomain and ReposGitHubAppDomain to ensure the constants follow the naming of the named type.

Test plan

  • Every GitHub app-related operation should work as is.
  • Just a variable name change.

@BolajiOlajide BolajiOlajide requested a review from a team June 3, 2023 22:58
@BolajiOlajide BolajiOlajide self-assigned this Jun 3, 2023
@cla-bot cla-bot Bot added the cla-signed label Jun 3, 2023
@sourcegraph-bot

Copy link
Copy Markdown
Contributor

Codenotify: Notifying subscribers in CODENOTIFY files for diff 2c6719f...5737d7c.

Notify File(s)
@unknwon enterprise/cmd/frontend/internal/auth/githubappauth/resolver.go
enterprise/cmd/frontend/internal/auth/githubappauth/resolver_test.go

@sourcegraph-bot

Copy link
Copy Markdown
Contributor

📖 Storybook live preview

@BolajiOlajide BolajiOlajide changed the title batches: Add domain column to github_apps migration (#52332) batches: properly name GitHupAppDomain constants for github apps Jun 4, 2023
@BolajiOlajide BolajiOlajide merged commit 74767e7 into batches/commit-signing Jun 4, 2023
@BolajiOlajide BolajiOlajide deleted the bo/update-github-apps-domain-variable branch June 4, 2023 22:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants