Mongease Graphql Builder
Module for auto-generating simple GraphQL queries from Mongease descriptions.
Install
$ npm install --save mongease-graphql-builder
Usage
;;; Mongease; Mongease; Builder; // GraphQL query as stringBuilder // GraphQL-ready mutation
API
.query ( resolver: string, string = false )
Creates and returns a GraphQL query, given the name of the resolver.
.mutation ( resolver: string, string = false )
Creates and returns a GraphQL mutation, given the name of the resolver.
.subscription ( resolver: string, string = false )
Creates and returns a GraphQL subscription, given the name of the resolver.
Related
- mongoose-to-graphql - Converts a Mongoose schema to its GraphQL representation.
- mongease - Tiny wrapper around Mongoose for easier creation of schemas and models. Supports plugins.
- mongease-graphql - Mongease plugin for adding support to GraphQL schemas creation.
License
MIT © Fabio Spampinato