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 total #40

Open
thomaxxl opened this issue Jul 14, 2021 · 1 comment
Open

Pagination total #40

thomaxxl opened this issue Jul 14, 2021 · 1 comment

Comments

@thomaxxl
Copy link

Hi,

ra-jsonapi-client uses meta["total"] for pagination. Some libraries use meta["count"] for this. Is it possible to add a fallback to "count"? Or make this configurable? I can create a pull request if you wish.

@henvo
Copy link
Owner

henvo commented Aug 1, 2021

Hi @thomaxxl

Thanks for your input. As fas as I can see JSONAPI does not specify a standard on the "total/count" key name.
In this case it would make sense to make this configurable.

Pull requests welcome.

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 a pull request may close this issue.

2 participants