Skip to content

Repo API Broken in master #685

Closed
Closed

Description

@GrahamCampbell

$paginator->fetchAll($client->me(), 'repositories', ['all']) will throw:

Github\Exception\RuntimeException: If you specify visibility or affiliation, you cannot specify type.

Activity

  1. changed the title [-]Repo API Broken in latest release[/-] [+]Repo API Broken in master[/+] on Mar 5, 2018
  2. GrahamCampbell commented on Mar 5, 2018

    @GrahamCampbell
    ContributorAuthor

    This must have been broken somewhere between: 2.7.0...b716e03.

  3. acrobat commented on Mar 5, 2018

    @acrobat
    Collaborator

    Hmm good catch. We can fix this by making the default value of the new parameters null and add some extra code in the method to unset the type value if visibility or affiliation is set?

    What do you think @GrahamCampbell @hotmeteor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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