Skip to content

Change paging API for Datastore #288

Closed
@silvolu

Description

For queries that limit the number of result, we implement an API that promises to return a nextQuery that:

  • contains the query to get the result for the next page if more results are available
  • is null if there are no more results available

As shown by this regression test, this is not working as advertised because of #5, that is basically WAI because of consistency.

Instead of returning nextQuery, we should return the end cursor for the page retrieved, that can be used by external developers as start cursor to get the next page of results.

Metadata

Labels

🚨This issue needs some love.api: datastoreIssues related to the Datastore API.triage meI really want to be triaged.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions