Skip to content

GraphQL pagination for unordered entities

In a gitlab-ce~4133451 connection the KeySetConnection will dig for the ordering or it will default to the primary key

But if a collection is not ordered the pagination will misbehave, the returned pageInfo.startCursor, pageInfo.endCursor will not paginate effectively the collection.

Perhaps the KeySetConnection should raise if there’s no ordering?

/cc @reprazent

Edited by 🤖 GitLab Bot 🤖