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
contentTrust
projected
quarantined0
signals[]
blockedBy[]
blocking[]
closedAtOct 21, 2025, 1:31 PM

Migrate Label & Issue Services to GraphQL

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 cross-referenced by #7590 on Oct 23, 2025, 12:53 AM