Skip to content

sambou/absinthe_paginator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AbsinthePaginator

AbsinthePaginator helps connecting the packages :absinthe_relay and :paginator. It provides the function from_paginator/4 and from_paginator/5 that work similarly to Absinthe.Relay.Connection.from_query/4 but takes Paginators' paginate/3 instead of a repo function. from_paginator/4 also takes care of converting the Paginator page struct to a Absinthe.Relay-style connection struct.

Installation

If available in Hex, the package can be installed by adding absinthe_paginator to your list of dependencies in mix.exs:

def deps do
  [
    {:absinthe_paginator, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/absinthe_paginator.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages