Even though pull requests are a subset of issues and their numbers may be the same, the IDs of issues and pull requests are always different.
Since pulls API doesn't contain its corresponding issue ID, issue resource and issue_comments collection should be removed from pull request entities.
https://developer.github.com/v3/pulls/#get-a-single-pull-request
Even though pull requests are a subset of issues and their numbers may be the same, the IDs of issues and pull requests are always different. Since pulls API doesn't contain its corresponding issue ID, issue resource and issue_comments collection should be removed from pull request entities. https://developer.github.com/v3/pulls/#get-a-single-pull-request