0.0.7 • Published 6 years ago
egg-gql v0.0.7
egg-gql
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 https://github.com/apollographql/apollo-server/issues/126 It's ok in ES.