How do you provide pagination and filtering to your Phoenix Framework JSON APIs?
Couple of years ago I used Scrivener
and Inquisitor
but they are not maintained anymore.
How do you provide pagination and filtering to your Phoenix Framework JSON APIs?
Couple of years ago I used Scrivener
and Inquisitor
but they are not maintained anymore.
I have been using flop (GitHub - woylie/flop: Filtering, ordering and pagination for Ecto) since it supports cursor-based pagination and it appears to be actively maintained.
Thanks,
Have you encountered any issues since flop
does not support combining filters with OR
?
There’s also this repo, which I am just about to try out for the first time:
In the projects where I have used flop, I don’t have complex filtering needs so I haven’t missed the lack of OR capability yet.
Ash Framework has pagination/sorting/filtering built in, may be worth looking into if you haven’t before.
I find this wildly offensive.