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

feat: nested total count #51

Closed
wants to merge 2 commits into from
Closed

feat: nested total count #51

wants to merge 2 commits into from

Conversation

Bramw2003
Copy link

@Bramw2003 Bramw2003 commented Sep 12, 2022

In our pagination we have the 'total-count' for a list nested in a cursor object like

{
    data: {...},
    meta: {
        cursor: {
            total-count: 1234
        }
    }
}

This PR adds support for a nested total count and closes #40

@Bramw2003
Copy link
Author

Guessing this isn't the most optimised way to do this but suggestions are welcome!

@Bramw2003 Bramw2003 changed the title Nested total count feat: nested total count Sep 12, 2022
@Bramw2003 Bramw2003 closed this by deleting the head repository Dec 6, 2022
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.

Pagination total
1 participant