Closed arojunior closed 6 years ago
Just trying it out
query {
user(login: "arojunior") {
following(last: 5) {
totalCount
nodes {
login
issueComments(last: 3) {
nodes {
body
}
}
pullRequests(last: 3) {
nodes {
body
}
}
commitComments(last: 3) {
nodes {
body
}
}
starredRepositories(last: 3) {
nodes {
nameWithOwner
}
}
}
}
}
}
Now it is fetching all events for all following list. We need to find a way to fetch just the lasts events and fetching more when user scroll the page.
Can we use GraphQL api? https://developer.github.com/v4/