egg-typedgraphql
v1.0.2
Published
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
Downloads
3
Readme
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