All Projects → graphql-compose → graphql-compose-pagination

graphql-compose / graphql-compose-pagination

Licence: MIT license
Plugin for TypeComposer (graphql-compose), that adds `pagination` resolver.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to graphql-compose-pagination

graphql-compose-relay
No description or website provided.
Stars: ✭ 29 (+0%)
Mutual labels:  graphql-compose-plugin, graphql-compose
kaminari-sinatra
Kaminari Sinatra adapter
Stars: ✭ 26 (-10.34%)
Mutual labels:  pagination
paginated
⚛️ React render props component & custom hook for pagination.
Stars: ✭ 20 (-31.03%)
Mutual labels:  pagination
FutureBuilderWithPagination
we're gonna look out how to work with Future Builder and show the result in GridView. We'll also see how to use Pagination with Future Builder.Future Builder is a widget that returns another widget based on futures execution result. It builds itself based on the latest AsyncSnapshots.
Stars: ✭ 45 (+55.17%)
Mutual labels:  pagination
ember-cli-blog
Tom Dale's blog example updated for the Ember CLI
Stars: ✭ 87 (+200%)
Mutual labels:  pagination
pagination
Aplus Framework Pagination Library
Stars: ✭ 167 (+475.86%)
Mutual labels:  pagination
theleakycauldronblog
My Personal Blog. Powered by Gatsby and Netlify CMS
Stars: ✭ 33 (+13.79%)
Mutual labels:  pagination
graphql-compose-elasticsearch
Graphql App using Node with typescript, KOA framework and Elasticsearch
Stars: ✭ 40 (+37.93%)
Mutual labels:  graphql-compose
go-paginate
Cursor-based go paginator
Stars: ✭ 48 (+65.52%)
Mutual labels:  pagination
vue-pagination
🔵一个`bootstrap`风格的`vue.js`(2.0)分页组件
Stars: ✭ 28 (-3.45%)
Mutual labels:  pagination
RxPagingLoading
Easy handling of the Paging or Loading screens states
Stars: ✭ 45 (+55.17%)
Mutual labels:  pagination
Pagination-and-Search-Laravel
Example of pagination and search functionality combined in Laravel Framework
Stars: ✭ 19 (-34.48%)
Mutual labels:  pagination
developer-guides
Developer Guides
Stars: ✭ 25 (-13.79%)
Mutual labels:  pagination
phoenix pagination
Simple pagination for Ecto and Phoenix that uses plain EEx templates.
Stars: ✭ 20 (-31.03%)
Mutual labels:  pagination
RxPagination
Implement pagination in just few lines with RxPagination
Stars: ✭ 20 (-31.03%)
Mutual labels:  pagination
PetkoparaCrudGeneratorBundle
Symfony3 CRUD generator bundle with pagination, filter, bulk actions and Twitter bootstrap 3.3.6 features.
Stars: ✭ 69 (+137.93%)
Mutual labels:  pagination
vue3-table-lite
A simple and lightweight data table component for Vue.js 3. Features sorting, paging, row check, dynamic data rendering, supported TypeScript, and more.
Stars: ✭ 148 (+410.34%)
Mutual labels:  pagination
pagination-pager
Ember.js Component for Bootstrap 3 pagination & pager components
Stars: ✭ 56 (+93.1%)
Mutual labels:  pagination
SwiftyUIScrollView
A custom ScrollView wrapper that comes with Pagination and Page Control.
Stars: ✭ 18 (-37.93%)
Mutual labels:  pagination
spring-boot-jpa-rest-demo-filter-paging-sorting
Spring Boot Data JPA with Filter, Pagination and Sorting
Stars: ✭ 70 (+141.38%)
Mutual labels:  pagination

graphql-compose-pagination

travis build codecov coverage npm trend Commitizen friendly

This is a plugin for graphql-compose family, which adds to the ObjectTypeComposer pagination resolver.

Live demo: https://graphql-compose.herokuapp.com/

CHANGELOG

Installation

npm install graphql graphql-compose graphql-compose-pagination --save

Modules graphql and graphql-compose are in peerDependencies, so should be installed explicitly in your app. They should not installed as sub-modules, cause internally checks the classes instances.

Example

import { preparePaginationResolver } from 'graphql-compose-pagination';
import { UserTC, findManyResolver, countResolver } from './user';

const paginationResolver = preparePaginationResolver(UserTC, {
  findManyResolver,
  countResolver,
  name: 'pagination', // Default
  perPage: 20, // Default
});

Implementation of findManyResolver and countResolver can be found in this file.

screen shot 2017-08-07 at 23 31 46

Used in plugins

graphql-compose-mongoose – converts mongoose models to graphql types

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].