$ npm i egg-gql --save
// {app_root}/config/plugin.js
exports.graphql = {
enable: true,
package: 'egg-gql'
};
// {app_root}/config/config.default.js
exports.graphql = {};
see config/config.default.js for more detail.
ts example see run-book
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.