google / go-github

Go library for accessing the GitHub v3 API

Home Page:https://pkg.go.dev/github.com/google/go-github/v62/github

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add MergedAt field to PullRequestLinks

tatsuhiro-t opened this issue · comments

Please add MergedAt field to PullRequestLinks.
github upstream schema now has merged_at field:

      "pull_request": {
        "type": "object",
        "properties": {
          "merged_at": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time"
          },
          ...

Primary use case for this field is to know whether closed pull request is merged or not if API response returns Issues rather than PullRequests (e.g., search API).