Add json tags to SubIssues and LinkedIssueConnection
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
6e76f11dec
commit
e3ce7e5225
1 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue