octokit.graphql.net
octokit.graphql.net copied to clipboard
PullRequestConnection uses IssueOrder instead of PullRequestOrder
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.