microsoft / ghcrawler

Crawl GitHub APIs and store the discovered orgs, repos, commits, ...
MIT License
377 stars 90 forks source link

Do not add issue & issue comments to pull request entity #163

Closed geneh closed 5 years ago

geneh commented 5 years ago

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