TypeORM GraphQL Pagination
Opinionated GraphQL style pagination for TypeORM.
Install
TypeORM GraphQL Pagination runs on Node.js and is available as a NPM package. It can be installed as a normal NPM package:
$ npm install typeorm-graphql-pagination
Or using yarn:
$ yarn add typeorm-graphql-pagination
Usage
This package uses the pagination model presented in the official GraphQL documentation. You must create your own GraphQL types for each connection, edge, and order to take full advantage of the pagination features.
;;; // GraphQL typeDefs; // GraphQL resolvers; //...
Testing
$ npm test
Licence
Copyright (c) 2019 Kirk Brauer.
Released under the MIT license.