Skip to content

Rework pagination in the GraphQL API #111

@ahmadbky

Description

@ahmadbky

The pagination using the new connection nodes in the GraphQL API should be reworked slightly. The current implementation seems to confuse backward pagination with a descending order, especially because ordering parameters are missing from the GraphQL nodes (e.g. order_by and order_dir).

The fix should be to add these parameters first and fix the pagination behavior, on these nodes:

  • EventEditionMap.recordsConnection
  • Map.recordsConnection
  • Player.recordsConnection
  • QueryRoot.recordsConnection

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions