graphql-routes
v0.1.0
Published
Free batching and caching for your GraphQL resolvers
Downloads
3
Readme
GraphQL-Routes
This library is created to solve in a generic way the native execution of GraphQL which traverse and invoke your resolvers, mostly creating the N + 1 problem when executing DB queries.
GraphQL-Routes give you a way to map your resolvers to a Controller Class utilizing Batching and Caching for your GraphQL resolvers for free, without restrictions of the business logic implementation. Naturally all the batched resolvers that you define has to return a batched result.
Installation
npm i graphql-routes -S