Skip to content

Use either first or after to determine forward pagination #929

Closed
@rstoyanchev

Description

@rstoyanchev

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions