ra-jsonapi-client
ra-jsonapi-client copied to clipboard
Pagination total
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.
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.