Skip to content
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

Allow $page to be null for Clients so pagination is not triggered #259

Merged
merged 1 commit into from
Jun 6, 2018

Conversation

joshcanhelp
Copy link
Contributor

No description provided.

@joshcanhelp joshcanhelp added this to the v5-Next milestone Jun 5, 2018
Copy link
Contributor

@lbalmaceda lbalmaceda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just fix the doc block

@@ -20,7 +20,7 @@ class Clients extends GenericResource
*
* @param null|string|array $fields - Fields to include or exclude from the result.
* @param null|boolean $include_fields - True to include $fields, false to exclude $fields.
* @param integer $page - Page number to get, zero-based.
* @param null|integer $page - Page number to get, zero-based.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Null to not request pagination

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lbalmaceda - That's only for legacy clients, correct? We don't want to force pagination but don't we also want to encourage folks to use it? Seems confusing to add that with or without a note about legacy clients.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshcanhelp you're right :)

@joshcanhelp joshcanhelp merged commit 577332e into master Jun 6, 2018
@joshcanhelp joshcanhelp deleted the fix-default-page-clients branch June 6, 2018 15:41
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants