Skip to content

milestones()->all results are in reverse order #306

@emersonthis

Description

@emersonthis

This may be a case of old/incorrect GitHub API documentation, but according to their docs the default for this...

$test = $this->client->api('issue')->milestones()->all($org, $repo);

...should be for results to be returned in ascending order by due_date. I get descending order.

Regardless of the defaults, it would be convenient if this method accepted an additional (optional) config parameter to pass these settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions