cli/pkg/cmd/discussion/client
Babak K. Shandiz b090b4d2fb
feat(discussion/client): add GetCommentReplies with paginated reply fetching
Extract discussionReplyNode and mapReplyFromNode as reusable types for
reply nodes. Add GetCommentReplies to the DiscussionClient interface,
implemented using a combined node(id:) and repository.discussion query
since the Discussion type does not expose a comment(id:) field.

Add ExportReply() for leaf reply nodes (no nested replies) and include
cursor/next pagination fields in the comment Export() replies object.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-27 10:57:45 +01:00
..
client.go feat(discussion/client): add GetCommentReplies with paginated reply fetching 2026-04-27 10:57:45 +01:00
client_impl.go feat(discussion/client): add GetCommentReplies with paginated reply fetching 2026-04-27 10:57:45 +01:00
client_impl_test.go refactor(discussion/client): convert tests to httpStubs pattern 2026-04-24 14:19:19 +01:00
client_mock.go feat(discussion/client): add GetCommentReplies with paginated reply fetching 2026-04-27 10:57:45 +01:00
types.go feat(discussion/client): add GetCommentReplies with paginated reply fetching 2026-04-27 10:57:45 +01:00