query RepoIssues($first: Int!) { repository(owner: "obmarg", name: "cynic") { one: issueOrPullRequest(number: 100) { ... on Issue { body assignees(first: $first) { totalCount } } ... on PullRequest { body assignees(first: $first) { totalCount } } } two: issueOrPullRequest(number: 200) { ... on Issue { closed assignees(first: $first) { totalCount } } ... on PullRequest { changedFiles assignees(first: $first) { totalCount } } } } }