egg-typedgraphql
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

egg-typedgraphql

NPM version build status Test coverage David deps Known Vulnerabilities npm download

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

MIT

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.21latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.21

Package Sidebar

Install

npm i egg-typedgraphql

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

10.7 kB

Total Files

8

Last publish

Collaborators

  • zf