Request for Mutation.updatePullRequest

schema-request

#1

There does not seem to be a way to update pull requests, similar to what is supported by the REST API using the PATCH interface. A schema like this would be nice:

type Mutation {
  updatePullRequest(input: UpdatePullRequestInput!): UpdatePullRequestPayload
}

input UpdatePullRequestInput {
  baseRefName: String
  title: String
  body: String

  clientMutationId: String

  pullRequestId: ID!
}

type UpdatePullRequestPayload {
  clientMutationId: String
  pullRequest: PullRequest!
}

#2

:wave: @ezyang,

Thank you for the schema request. I’ve added this to our internal tracker and we’ll update this thread when we have some more information.