Skip to content

Conversation

@soullivaneuh
Copy link
Contributor

Fixes #294.

@stof
Copy link
Contributor

stof commented Oct 5, 2015

Should we really have the id argument there ? Shouldn't pagination be handled through the ResultPager instead ?

@soullivaneuh
Copy link
Contributor Author

I added this argument because GitHub permits it: https://developer.github.com/v3/repos/#list-all-public-repositories

I think it's still useful. For me, I use it for a long command that can start on the last checked id.

BTW, I follow the same method as User::all() does.

@stof
Copy link
Contributor

stof commented Oct 5, 2015

OK, if there is already similar things elsewhere, fine.

this PR is missing tests and documentation though

@soullivaneuh
Copy link
Contributor Author

@stof Tests and documentation added.

cursedcoder added a commit that referenced this pull request Oct 11, 2015
@cursedcoder cursedcoder merged commit 7b50381 into KnpLabs:master Oct 11, 2015
@soullivaneuh soullivaneuh deleted the repo-all branch October 11, 2015 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants