ra-jsonapi-client icon indicating copy to clipboard operation
ra-jsonapi-client copied to clipboard

feat: nested total count

Open Bramw2003 opened this issue 3 years ago • 1 comments

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 avatar Sep 12 '22 13:09 Bramw2003

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

Bramw2003 avatar Sep 12 '22 13:09 Bramw2003