From e3ce7e52257340ff3d900a320a3a25893322f21d Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Wed, 6 May 2026 15:45:13 -0600 Subject: [PATCH] Add json tags to SubIssues and LinkedIssueConnection Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- api/queries_issue.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/queries_issue.go b/api/queries_issue.go index 916340477..d9cf73be1 100644 --- a/api/queries_issue.go +++ b/api/queries_issue.go @@ -78,8 +78,8 @@ type LinkedIssue struct { // SubIssues is a connection of sub-issues with a total count. type SubIssues struct { - Nodes []LinkedIssue - TotalCount int + Nodes []LinkedIssue `json:"nodes"` + TotalCount int `json:"totalCount"` } // SubIssuesSummary contains completion stats for sub-issues. @@ -91,7 +91,7 @@ type SubIssuesSummary struct { // LinkedIssueConnection is a connection of related issues (blocked-by or blocking). type LinkedIssueConnection struct { - Nodes []LinkedIssue + Nodes []LinkedIssue `json:"nodes"` } type ClosedByPullRequestsReferences struct {