octokit.graphql.net icon indicating copy to clipboard operation
octokit.graphql.net copied to clipboard

PullRequestConnection uses IssueOrder instead of PullRequestOrder

Open marcduiker opened this issue 5 years ago • 0 comments

I noticed that when ordering PullRequests the IssueOrder enum is being used instead of the PullRequestOrder enum:

https://github.com/octokit/octokit.graphql.net/blob/e92b6c4e8ac1e4831f9f69ce498d46a0153440ac/Octokit.GraphQL/Model/Ref.cs#L30

The query works, so there no loss in functionality. It is just a bit unintuitive. I understand this model is generated, I'm not sure where this could be fixed. If you can give any pointers I'm happy to look into it and submit a PR.

marcduiker avatar Jul 01 '20 07:07 marcduiker