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

Pagination including "included" records #558

Open
arthurpankiewicz opened this issue Jan 17, 2025 · 0 comments
Open

Pagination including "included" records #558

arthurpankiewicz opened this issue Jan 17, 2025 · 0 comments
Labels
fix Something isn't working

Comments

@arthurpankiewicz
Copy link
Collaborator

arthurpankiewicz commented Jan 17, 2025

Describe the bug
If you include a has many relationships that includes a high number of records in the response, the number of main records returned is lower than the set pagination count. This is likely because the included relationship records are added to the count

Expected behavior
If pagination is set to 50, the API should respond with 50 base records and not keep track of the number of included records

Installed Packages

  • latest hatchify
@arthurpankiewicz arthurpankiewicz added the fix Something isn't working label Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant