-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify paging behaviour around data changes #453
Comments
It is at the discretion of the implementer, I think. The backends are so different that we can't prescribe a behaviour that works for everyone. PRs are welcome. |
Perhaps this is a use-case for an extension, such as a I disagree that concerns about backends should influence this decision for two reasons:
If there is general agreement on an approach I will be happy to contribute to that effort. |
With backends I meant database engines, I have no knowledge of specific implementations. I'm following the same reasoning here why we don't describe how pagination works in detail, just follow next links, which can be page numbers, offsets, etc. There won't be an agreement until someone writes something more specific up for discussion, I guess. For example an extension. But again, I believe that due to differences in db engines, we won't come to a general consensus. Happy to be proven wrong. |
I will see if I can make time for an extension proposal. Or a proposal to change the existing paging spec. |
What is the expected behaviour for paging within search results around the time of a data change? Is this considered a specification concern, or is it at the discretion of the implementer? Can this be documented?
For example:
limit
next
linknext
linkThe following all seem like viable options:
next
page no longer follows the last item of theprevious
page because sort order has changed either due to new items or changes to existing itemsAny thoughts much appreciated.
The text was updated successfully, but these errors were encountered: