You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IsDraft field appears to exist for PullRequests in the graphql v4 docs:
However, when querying for it I am given this response: GHE GraphQL query error: Field 'isDraft' doesn't exist on type 'PullRequest' I'm running GHE 2.20.7 and the April 13th, 2020 commit/release of this repo. This information is available via the v3 API.
Googling around a little showed that some folks were having to use a preview header to get this data via v4. But that information was a little dated.
Any suggestions on how we could add support for this here?
The text was updated successfully, but these errors were encountered:
The tracking issue for schema support preview is #34, but there hasn't been recent progress there. You should be able to use a custom http.RoundTripper wrapper to insert that header as an interim solution.
The IsDraft field appears to exist for PullRequests in the graphql v4 docs:
However, when querying for it I am given this response:
GHE GraphQL query error: Field 'isDraft' doesn't exist on type 'PullRequest'
I'm running GHE 2.20.7 and the April 13th, 2020 commit/release of this repo. This information is available via the v3 API.Googling around a little showed that some folks were having to use a preview header to get this data via v4. But that information was a little dated.
Any suggestions on how we could add support for this here?
The text was updated successfully, but these errors were encountered: