Skip to content

wanxger/egg-gql

 
 

Repository files navigation

egg-gql

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-gql --save

Usage

// {app_root}/config/plugin.js
exports.graphql = {
  enable: true,
  package: 'egg-gql'
};

Configuration

// {app_root}/config/config.default.js
exports.graphql = {};

see config/config.default.js for more detail.

Example

ts example see run-book

Questions & Suggestions

Please open an issue here.

Regarding circular dependencies: Error: typeDef array must contain only strings and functions, got object apollographql/apollo-server#126 It's ok in ES.

License

MIT

About

Egg supports graphql.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%