We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
last
When upgrading from 3.0.0 to 4.0.0, my test for when the result is empty broke.
In 3.0.0 the meta.last field was not populated. This is what meta looks like:
meta.last
meta
{ count: 0, pageCount: 0, totalCount: 0, next: null, previous: null, self: 'http://localhost:3000/testPagination?page=1&limit=25', first: 'http://localhost:3000/testPagination?page=1&limit=25', last: null }
In 4.0.0 the meta.last field has a 0 indexed link. This is what meta looks like:
{ count: 0, pageCount: 0, totalCount: 0, next: null, previous: null, self: 'http://localhost:3000/testPagination?page=1&limit=25', first: 'http://localhost:3000/testPagination?page=1&limit=25', last: 'http://localhost:3000/testPagination?page=0&limit=25' }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When upgrading from 3.0.0 to 4.0.0, my test for when the result is empty broke.
In 3.0.0 the
meta.last
field was not populated. This is whatmeta
looks like:In 4.0.0 the
meta.last
field has a 0 indexed link. This is whatmeta
looks like:The text was updated successfully, but these errors were encountered: