Open dandv opened 9 years ago
This is a good suggestion. I'll look into the best way to implement this and get back to you this weekend. v0.9 is all about modularizing restivus. I'll probably move collection support into a separate package, and this would exist there, or possibly in its own layer of middleware, or maybe somewhere in between. I've just been extra busy recently, but I'll try to give restivus a little attention this weekend.
This relies on #70.
For large collections, it becomes highly practical to page through the results.
I'd propose
start
andcount
as supported default parameters, because they're used in UI frameworks like Webix to have widgets like tables/grids load data dynamically from the server.