Skip to content

Commit d644f9e

Browse files
committed
forge--github-repository-query: Fix unpagination of discussions
The field used for singular queries has to be used as the first field, because only that is placed in the lineage. (While it would theoretically be possible to remove this requirement, doing so would require a lot of awkward code (which I did not succeed in writing in a late-night session), and it would not be worth the effort.) Re #843.
1 parent 69801d0 commit d644f9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lisp/forge-github.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898
( discussions [(:edges t)
9999
(:singular discussion number)
100100
(orderBy ((field UPDATED_AT) (direction DESC)))]
101+
number
101102
id
102103
databaseId
103-
number
104104
url
105105
stateReason
106106
;; Discussions lack isReadByViewer.

0 commit comments

Comments
 (0)