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

Update docs and tests regarding pagination of empty resources #1463

Closed

Conversation

kinuax
Copy link
Contributor

@kinuax kinuax commented Jan 22, 2022

According to the code, the presence of the pagination data (the _meta field) in the payload is only determined by the pagination setting, no matter the number of documents returned. Docs and tests are updated in order to clarify it.

Missing Black code-style changes are applied so that pre-commit passes.

@kinuax kinuax marked this pull request as ready for review January 22, 2022 19:53
nicolaiarocci added a commit that referenced this pull request Feb 10, 2022
@nicolaiarocci
Copy link
Member

rebased and merged. Thanks.

@kinuax kinuax deleted the update-pagination-related-docs-and-tests branch February 12, 2022 12:38
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.

2 participants