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

Reduce the cost of GraphQL queries #203

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/main/java/io/quarkus/status/github/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ public class Comment {
public String id;
public String body;
public String bodyHTML;
public User author;

@Override
public String toString() {
return "Comment{" +
"id='" + id + '\'' +
", author='" + author + '\'' +
", body='" + body + '\'' +
'}';
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,11 @@ fragment issueFields on Issue {
body
state
closedAt
comments(last: 20) {
comments(last: 10) {
nodes {
id
body
bodyHTML
author {
... on User {
login
avatarUrl
name
url
}
}
}
}
author {
... on User {
login
avatarUrl
name
url
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,11 @@
body
state
closedAt
comments(last: 20) {
comments(last: 10) {
nodes {
id
body
bodyHTML
author {
... on User {
login
avatarUrl
name
url
}
}
}
}
author {
... on User {
login
avatarUrl
name
url
}
}
}
Expand Down
Loading