Files
openide/plugins/github/resources/graphql/fragment/pullRequestReviewer.graphql
Chris Lemaire 3135a1e828 [github] Fix 'fragment on Bot can't be spread' exceptions (IJPL-175710)
#IJPL-175710 Fixed

This is caused by `... on Bot` not being allowed for `PullRequestReviewers` before GitHub 3.11.

The newly added tests can confirm this mistake.

(cherry picked from commit 87015863c0c8c0cd581f98eeefa5ae45adad34e8)

IJ-CR-154633


(cherry picked from commit 93d7bbd449b714c9a2f35c04aaf8e7168d73afcf)

IJ-CR-154633

GitOrigin-RevId: bc130a8de2e50e0faca7e1c1e89ec5063fc2b3cb
2025-02-10 18:41:48 +00:00

13 lines
263 B
GraphQL

fragment pullRequestReviewer on RequestedReviewer {
... on Actor {
...actorInfo
}
... on User {
...userInfo
}
... on Team {
...teamInfo
}
# For future enthusiasts: be careful with adding ... on Bot, as it's been added only in GHE 3.11
}