relay-pagination-servant: RelayPage servant combinator for Relay-style cursor pagination

[ bsd3, library, program, servant, web ] [ Propose Tags ] [ Report a vulnerability ]

The RelayPage servant combinator: declares the four Relay pagination query parameters (first, after, last, before) on a route, validates them before the handler runs, and hands the handler one already-validated PageRequest. Ships HasServer, HasClient, and HasLink instances plus OpenAPI 3.1 documentation support via openapi-hs and servant-openapi-hs.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0
Change log CHANGELOG.md
Dependencies aeson (>=2.2 && <2.3), aeson-pretty (>=0.8 && <0.9), base (>=4.21 && <5), bytestring (>=0.11 && <0.13), http-api-data (>=0.6 && <0.7), http-types (>=0.12 && <0.13), lens (>=5.3.3 && <5.4), openapi-hs (>=5.0 && <5.1), relay-pagination (>=0.1.1.0 && <0.2), relay-pagination-servant, servant (>=0.20.3 && <0.21), servant-client-core (>=0.20.3 && <0.21), servant-openapi-hs (>=5.1 && <5.2), servant-server (>=0.20.3 && <0.21), sop-core (>=0.5 && <0.6), text (>=2.0 && <2.2), wai (>=3.2 && <3.3), warp (>=3.3 && <3.5) [details]
License BSD-3-Clause
Author Nadeem Bitar
Maintainer Nadeem Bitar
Uploaded by shinzui at 2026-07-24T21:47:19Z
Category Web, Servant
Source repo head: git clone https://github.com/shinzui/relay-pagination
Distributions
Executables relay-demo-openapi, relay-demo
Downloads 4 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]