Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: queries exceeding number of allowed nodes #348

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions data/prapi.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type PullRequestData struct {
Assignees Assignees `graphql:"assignees(first: 3)"`
Comments Comments `graphql:"comments(last: 5, orderBy: { field: UPDATED_AT, direction: DESC })"`
LatestReviews Reviews `graphql:"latestReviews(last: 3)"`
ReviewThreads ReviewThreads `graphql:"reviewThreads(last: 100)"`
ReviewThreads ReviewThreads `graphql:"reviewThreads(last: 20)"`
IsDraft bool
Commits Commits `graphql:"commits(last: 1)"`
}
Expand Down Expand Up @@ -138,7 +138,7 @@ type ReviewThreads struct {
StartLine int
Line int
Path string
Comments ReviewComments `graphql:"comments(first: 100)"`
Comments ReviewComments `graphql:"comments(first: 10)"`
}
}

Expand Down