+
Skip to content

Use _requestAllPages for search endpoints #302

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

chrisronline
Copy link

This PR changes the all search endpoints to use _requestAllPages instead of _request to support getting the full set of results.

My concern is how the flattening process should work - the result set is an array of responses instead of a single response. However, my change does not break tests since it seems the tests do not care about the nature of the response object.

How do you recommend I proceed with this?

Thanks

@AurelioDeRosa
Copy link
Member

Hi.

Thank you for the PR. This is a good change and because it might break quite a few things, I'd rather have it for version 1.0. Any thoughts @clayreimann @Aendrew?

@AurelioDeRosa AurelioDeRosa added this to the 1.0.0 milestone Mar 20, 2016
@clayreimann
Copy link
Member

@AurelioDeRosa I don't think this is liable to break code, but if you'd rather hold off then that's fine.

I also think that in general PRs should not bump the package version.

@chrisronline
Copy link
Author

Removed the package version and changelog additions

@clayreimann clayreimann self-assigned this Apr 23, 2016
@clayreimann clayreimann modified the milestones: 1.x, 1.0.0 Apr 27, 2016
@clayreimann
Copy link
Member

@chrisronline This was just released in v1.2.0

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载