query IssueOrPR($assigneeCount: Int!) { repository(owner: "obmarg", name: "cynic") { issueOrPullRequest(number: 1) { ... on Issue { id title state assignees(first: $assigneeCount) { totalCount } } ... on PullRequest { id title assignees(first: $assigneeCount) { totalCount } } } } }