Skip to content

Commit 46f08da

Browse files
authored
Add first:25 comment and note list_issues change in PR
1 parent 856ce87 commit 46f08da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/github/issues.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ type IssueFragment struct {
176176
} `graphql:"comments"`
177177
IssueFieldValues struct {
178178
Nodes []IssueFieldValueFragment
179-
} `graphql:"issueFieldValues(first: 25)"`
179+
} `graphql:"issueFieldValues(first: 25)"` // 25 exceeds the practical max of custom fields per issue in GitHub Projects
180180
}
181181

182182
// Common interface for all issue query types
@@ -249,7 +249,7 @@ type searchIssuesNodesQuery struct {
249249
ID githubv4.ID
250250
IssueFieldValues struct {
251251
Nodes []IssueFieldValueFragment
252-
} `graphql:"issueFieldValues(first: 25)"`
252+
} `graphql:"issueFieldValues(first: 25)"` // 25 exceeds the practical max of custom fields per issue in GitHub Projects
253253
} `graphql:"... on Issue"`
254254
} `graphql:"nodes(ids: $ids)"`
255255
}

0 commit comments

Comments
 (0)