Skip to content

PullRequestConnection uses IssueOrder instead of PullRequestOrder  #233

@marcduiker

Description

@marcduiker

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

public PullRequestConnection AssociatedPullRequests(Arg<int>? first = null, Arg<string>? after = null, Arg<int>? last = null, Arg<string>? before = null, Arg<string>? baseRefName = null, Arg<string>? headRefName = null, Arg<IEnumerable<string>>? labels = null, Arg<IssueOrder>? orderBy = null, Arg<IEnumerable<PullRequestState>>? states = null) => this.CreateMethodCall(x => x.AssociatedPullRequests(first, after, last, before, baseRefName, headRefName, labels, orderBy, states), Octokit.GraphQL.Model.PullRequestConnection.Create);

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleUsed by stalebot to clean house

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions