cli/pkg/cmd/discussion
Max Beizer fd06ad7556
discussion create: add label support via two-step GraphQL
- Add Labels []string field to CreateDiscussionInput
- Implement resolveLabels helper: paginated RepositoryLabels query,
  case-insensitive match, error if any label not found
- Implement addLabelsToDiscussion helper: calls addLabelsToLabelable
  mutation after createDiscussion
- Wire label logic into Create: resolve labels, apply them, populate
  d.Labels from resolved values
- Add three TestCreate cases: success with labels, label not found,
  mutation failure

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-01 14:17:38 -05:00
..
client discussion create: add label support via two-step GraphQL 2026-05-01 14:17:38 -05:00
list fix(discussion list): include search keywords in web mode 2026-04-14 15:07:32 +01:00
shared feat(discussion view): add cursor-based pagination to comments 2026-04-24 23:50:04 +01:00
view test(discussion view): consolidate view run tests 2026-04-29 13:05:21 +01:00
discussion.go Add discussion view command 2026-04-24 21:24:25 +01:00