All Projects β†’ lucasconstantino β†’ Graphql Resolvers

lucasconstantino / Graphql Resolvers

Licence: mit
πŸ”Œ Resolver composition library for GraphQL.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Graphql Resolvers

Graphql Mongoose Loader
GraphQL Mongoose Loader helpers
Stars: ✭ 98 (-64.23%)
Mutual labels:  graphql, resolver
Typeorm Graphql Loader
A query builder to easily resolve nested fields and relations for TypeORM-based GraphQL servers
Stars: ✭ 47 (-82.85%)
Mutual labels:  graphql, resolver
Apollo Resolvers
Expressive and composable resolvers for Apollostack's GraphQL server
Stars: ✭ 428 (+56.2%)
Mutual labels:  graphql, resolver
Hotchocolate
Welcome to the home of the Hot Chocolate GraphQL server for .NET, the Strawberry Shake GraphQL client for .NET and Banana Cake Pop the awesome Monaco based GraphQL IDE.
Stars: ✭ 3,009 (+998.18%)
Mutual labels:  graphql, resolver
Graphql For Vscode
GraphQL syntax highlighting, linting, auto-complete, and more!
Stars: ✭ 265 (-3.28%)
Mutual labels:  graphql
Graphql To Mongodb
Allows for generic run-time generation of filter types for existing graphql types and parsing client requests to mongodb find queries
Stars: ✭ 261 (-4.74%)
Mutual labels:  graphql
Aws App Sync
Easily Deploy AWS AppSync GraphQL APIs Using Serverless Framework Components
Stars: ✭ 261 (-4.74%)
Mutual labels:  graphql
Apollo Tooling
✏️ Tooling for development and production Apollo workflows
Stars: ✭ 2,938 (+972.26%)
Mutual labels:  graphql
Requester
Powerful, modern HTTP/REST client built on top of the Requests library
Stars: ✭ 273 (-0.36%)
Mutual labels:  graphql
Seapig
🌊🐷 Utility for generalized composition of React components
Stars: ✭ 269 (-1.82%)
Mutual labels:  composition
Swift Graphql
A GraphQL client that lets you forget about GraphQL.
Stars: ✭ 264 (-3.65%)
Mutual labels:  graphql
Cms
Club Management System of amFOSS, powered by CMS
Stars: ✭ 263 (-4.01%)
Mutual labels:  graphql
Babel Blade
(under new management!) ⛸️Solve the Double Declaration problem with inline GraphQL. Babel plugin/macro that works with any GraphQL client!
Stars: ✭ 266 (-2.92%)
Mutual labels:  graphql
Node Github Profile Summary
[Temporarily unavailable]The node version of github-profile-summary with GraphQL
Stars: ✭ 261 (-4.74%)
Mutual labels:  graphql
Loona
πŸŒ• Application State Management done with GraphQL
Stars: ✭ 270 (-1.46%)
Mutual labels:  graphql
Scalable React Boilerplate
⭐️ Scalable feature-first React micro-framework made for Udacity Alumni collaborative projects
Stars: ✭ 260 (-5.11%)
Mutual labels:  graphql
Grafoo
A GraphQL Client and Toolkit
Stars: ✭ 264 (-3.65%)
Mutual labels:  graphql
Dotnet Fake Json Server
Fake JSON Server is a Fake REST API that can be used as a Back End for prototyping or as a template for a CRUD Back End.
Stars: ✭ 265 (-3.28%)
Mutual labels:  graphql
Workers Graphql Server
πŸ”₯Lightning-fast, globally distributed Apollo GraphQL server, deployed at the edge using Cloudflare Workers
Stars: ✭ 255 (-6.93%)
Mutual labels:  graphql
React Flight
The best way to build animation compositions for React.
Stars: ✭ 2,805 (+923.72%)
Mutual labels:  composition

GraphQL Resolvers

Resolver composition library for GraphQL

build status coverage npm version sponsored by Taller


This library consists of simple but well tested helper functions for combining other functions into more specialized ones.

Installation

This package is available on npm as: graphql-resolvers

npm install graphql-resolvers

You should consider using yarn, though.

Motivation

Many times we end-up repeating lots of logic on our resolvers. Access control, for instance, is something that can be done in the resolver level but just tends to end up with repeated code, even when creating services for such a task. This package aims to make it easier to build smart resolvers with logic being reusable and split in small pieces. Think recompose, but for GraphQL resolvers.

Documentation

Read full documentation here

Similar projects

Besides being inspired by some functional libraries out there, this project has some goals in common with other projects:

apollo-resolvers:

While graphql-resolvers follows the functional paradigm, apollo-resolvers project solves some problems using an opinionated and OOP approach. Furthermore, the second also solves other problems which graphql-resolvers does not intend to work on, such as solving circular references on the resolver's context.

graphql-tools

At first, my idea was to incorporate the combineResolvers method into the wider project graphql-tools. That may yet happen some day, but I think people my not want to install the whole graphql-tools project when wanting this simple package's helper on their projects. Also, combineResolvers should work pretty fine with resolvers binded into graphql/types too.

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].