type-graphql for eggjs
$ npm i egg-typedgraphql --save
// {app_root}/config/plugin.js
exports.typedgraphql = {
enable: true,
package: 'egg-typedgraphql',
};
// {app_root}/config/config.default.js
exports.typedgraphql = {
};
see config/config.default.js for more detail.
see test/fixtures/apps/type-graphql-test
├── app
│ └── graphql
│ ├── resolver
│ │ └── test.ts
│ └── schema
│ └── Test.ts
├── config
│ └── config.default.js
└── graphql-schema.gql