Lightweight and powerful package makes easy to modularizing and merge your resolvers.
Table of Contents
- Easy to use
- Lightweight package without dependencies
- ES6 classes
npm i --save graphql-merge-resolvers
yarn add graphql-merge-resolvers
Now we have new resolver
To get started with
graphql-merge-resolvers, you can refer to this example.
merge(customResolvers: object or array, rootResolver: object): object
||Resolver or list of your resolvers want to merge. Required|
||Root resolver (options)|
Contribution are always welcome and recommended! Here is how:
- Fork the repository (here is the guide).
- Clone to your machine
git clone https://github.com/YOUR_USERNAME/graphql-merge-resolvers.git
- Make your changes
- Create a pull request
graphql-merge-resolvers is released under the MIT license. See LICENSE for details.
Any question or support will welcome.