ra-jsonapi-client
ra-jsonapi-client copied to clipboard
feat: nested total count
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
Guessing this isn't the most optimised way to do this but suggestions are welcome!