bookshelf-cursor-pagination
bookshelf-cursor-pagination copied to clipboard
Add indicator for results in reverse direction (hasMoreReverse) ?
I'd like to use this library to implement a relay-style cursor connection. It almost has everything needed, but the relay cursor spec includes a pageInfo key with hasNextPage and hasPreviousPage booleans. Currently, there's only hasMore, which I think indicates more results in the direction requested.
How hard would it be to add hasMoreReverse? I this existed, I could submit a PR that delivers a Relay-style cursor.