feathers-hooks-common icon indicating copy to clipboard operation
feathers-hooks-common copied to clipboard

[draft] new: next

Open FossPrime opened this issue 2 years ago • 1 comments
trafficstars

Summary

Adds a hook named next. It attaches an iterator named next to paginated results to improve pagination ergonomics.

https://github.com/feathersjs-ecosystem/feathers-hooks-common/issues/717

FossPrime avatar May 05 '23 05:05 FossPrime

Given the racy nature of Pagination and variables like Mongo's estimatedTotalCount...

@fratzinger Could we put this into an experimental labs export? Kinda like this, example, where DataTables API is in flux and being iterated over for years.

Screenshot_20230520-172355

FossPrime avatar May 20 '23 08:05 FossPrime