egg-graphql
egg-graphql copied to clipboard
Bumps [apollo-server-koa](https://github.com/apollographql/apollo-server) from 2.0.4 to 2.14.2. Changelog Sourced from apollo-server-koa's changelog. v2.14.2 Note: This release is is related to a GitHub Security Advisory published by the Apollo Server team. Please...
##### Checklist - [x] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit...
增加ts的支持
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...
##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows...
…pes multiple times in different files. ##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [ ] documentation is changed or added - [x]...
##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows...
由于需要格式化返回错误信息,新增了通用配置项 如: ``` config.graphql = { router: '/graphql', moreOpts: { formatError: error => ({ message: 'interal error', locations: error.locations, path: error.path, }), }, }; ```