-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Milestone is missing ID #1970
Comments
@patriksvensson what did you need |
I use it as an external identifier in a GitHub client i'm building. What is the practice when it comes to expose the id field? A lot of other entities in the Octokit API exposes it (label, issue, pullrequest) and it's part of the public API. I would gladly submit a PR for this. |
Some entities can be queried for using the But for repository-specific entities (issues, labels, milestones, etc) I don't believe the same lookup was ever implemented.
I'm not opposed to this, but I just wanted to indicate that the field is not what is used in the API itself. cc @ryangribble just in case. |
If it's in the public API response payload I don't mind having it implemented here for completeness |
@patriksvensson would you still like to submit a PR for this? Otherwise, I'll be happy to tackle it over the weekend. |
It looks like
Id
is missing fromOctokit.Milestone
.API example can be seen here: https://developer.github.com/v3/pulls/#get-a-single-pull-request
The text was updated successfully, but these errors were encountered: