1.0.2 • Published 6 years ago
egg-typedgraphql v1.0.2
egg-typedgraphql
type-graphql for eggjs
Install
$ npm i egg-typedgraphql --save
Usage
// {app_root}/config/plugin.js
exports.typedgraphql = {
enable: true,
package: 'egg-typedgraphql',
};
Configuration(TBD)
// {app_root}/config/config.default.js
exports.typedgraphql = {
};
see config/config.default.js for more detail.
File layout
see test/fixtures/apps/type-graphql-test
├── app
│ └── graphql
│ ├── resolver
│ │ └── test.ts
│ └── schema
│ └── Test.ts
├── config
│ └── config.default.js
└── graphql-schema.gql
License
1.0.2
6 years ago