PyGithub icon indicating copy to clipboard operation
PyGithub copied to clipboard

Support GraphQL closingIssuesReferences

Open bonelli opened this issue 2 years ago • 3 comments

Hi there, the GitHub API supports the concept of closingIssuesReferences (see https://docs.github.com/en/graphql/reference/objects#pullrequest) which is the way to link an issue to be closed automatically when a PR fixes it.

Is it possible to implement it in the PyGithub library as well?

bonelli avatar Jun 22 '23 21:06 bonelli

Looks like this project has never called into the GraphQL API, and the REST API does not seem to provide this feature yet.

EnricoMi avatar Jun 23 '23 08:06 EnricoMi

PyGithub now has its first GraphQL call, see https://github.com/PyGithub/PyGithub/commit/232df79a2947dc96363bdc6f51a6f446ff2b241f#diff-90017b18548bd848900b7cffd7fe86a610dc20e5d228663dfb429a47cdf65a20R767-R772 for reference.

EnricoMi avatar Dec 06 '23 14:12 EnricoMi