Skip to content

Provide utilities to implement GraphQL Cursor Connections Specification #528

Open

Description

@aszenz

The GraphQL Cursor connections spec is supported by lot of clients to implement pagination, it is useful for the server to provide an api which adheres to this specification since it implements all of the best practices around pagination.

This library can help the developer by making it easy to implement this spec, this may involve providing some abstract classes or services

See the spec here: https://relay.dev/graphql/connections.htm

Activity

  1. oojacoboo commented on Nov 24, 2022

    @oojacoboo
    Collaborator

    This would be great. If anyone wants to take a stab at a PR, that'd be awesome.

    @aszenz can we start by outlining some suggested design approaches to this? Should the controller, or an input type accept an interface implementation, and the input type parser can interpret this accordingly? If so, what does the parser need to do - anything - other than just type mapping it? I'm guessing the controller would just need access to the pagination information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions