Packages

Support for paginated result sets using keyset pagination, for use in an Absinthe resolver module. Requires defining a connection with Absinthe.Relay.Connection from the absinthe_relay package.

Current section

Files

Jump to

README.md

# AbsintheRelayKeysetConnection
[![Version](https://img.shields.io/hexpm/v/absinthe_relay_keyset_connection.svg)](https://hex.pm/packages/absinthe_relay_keyset_connection)
[![Hex Docs](https://img.shields.io/badge/documentation-gray.svg)](https://hexdocs.pm/absinthe_relay_keyset_connection)
Support for paginated result sets using keyset pagination, for use in an
Absinthe resolver module.
Requires defining a connection with
[Absinthe.Relay.Connection](https://hexdocs.pm/absinthe_relay/Absinthe.Relay.Connection.html).
## Installation
Add to to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:absinthe_relay_keyset_connection, "~> 2.0"}
]
end
```
... and `mix deps.get`.
## Usage
See the docs linked from [the package](https://hex.pm/packages/absinthe_relay_keyset_connection).