LearnNewsExamplesServices
Frontmatter
id7592
titleMigrate Label & Issue Services to GraphQL
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 21, 2025, 1:06 PM
updatedAtOct 21, 2025, 1:31 PM
githubUrlhttps://github.com/neomjs/neo/issues/7592
authortobiu
commentsCount0
parentIssue7590
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 21, 2025, 1:31 PM

Migrate Label & Issue Services to GraphQL

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 21, 2025, 1:06 PM

As part of the GraphQL migration, the LabelService and IssueService will be updated to use the new GraphqlService instead of making gh CLI calls.

Acceptance Criteria

  1. LabelService.listLabels is refactored to use a GraphQL query to fetch the list of repository labels.
  2. IssueService.addLabels is refactored to use the addLabelsToLabelable GraphQL mutation.
  3. IssueService.removeLabels is refactored to use the removeLabelsFromLabelable GraphQL mutation.
  4. The old gh command logic is removed from these services.
tobiu assigned to @tobiu on Oct 21, 2025, 1:06 PM
tobiu added parent issue #7590 on Oct 21, 2025, 1:06 PM
tobiu added the enhancement label on Oct 21, 2025, 1:06 PM
tobiu added the ai label on Oct 21, 2025, 1:06 PM
tobiu referenced in commit de02d37 - "Migrate Label & Issue Services to GraphQL #7592" on Oct 21, 2025, 1:31 PM
tobiu closed this issue on Oct 21, 2025, 1:31 PM
tobiu cross-referenced by #7590 on Oct 23, 2025, 12:53 AM