You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While investigating #925, I noticed we only check for the presence of last to assume backward pagination, so for a query with only before, we assume forward, and as a result ignore the before argument. The pagination spec does expect both last and before to enable backward pagination, but nevertheless we should check the presence of either last or before
The text was updated successfully, but these errors were encountered:
The steps to check have been updated to start by looking for either "after" or "first", leading to forward pagination. Then for the presence of either "before" or "last" for backward pagination.
rstoyanchev
changed the title
Use either last or before to enable backward pagination
Use either first or after to determine forward pagination
Mar 26, 2024
While investigating #925, I noticed we only check for the presence of
last
to assume backward pagination, so for a query with onlybefore
, we assume forward, and as a result ignore thebefore
argument. The pagination spec does expect bothlast
andbefore
to enable backward pagination, but nevertheless we should check the presence of eitherlast
orbefore
The text was updated successfully, but these errors were encountered: