Nest.js-Graphql Apollo网关返回错误请求(400)或HTTP(S)错误

时间:2020-04-03 18:02:57

标签: javascript node.js graphql nestjs apollo-server

我有2个服务,现在,我尝试启动一个网关来组成所有内容,并且为了简单起见,我什至没有使用我编写的服务,而是使用了其他一些公共GraphQL API(https://graphql-compose.herokuapp.com/northwind

不知何故,我不断收到此错误:

Encountered error when loading TEST_GRAPHQL_GATEWAY at https://graphql-compose.herokuapp.com/northwind: 400: Bad Request
[DEBUG] Fri Apr 03 2020 19:51:39 GMT+0200 (Central European Summer Time) apollo-gateway: No change in service definitions since last check
[INFO] Fri Apr 03 2020 19:51:39 GMT+0200 (Central European Summer Time) apollo-gateway: Gateway successfully loaded schema.
        * Mode: unmanaged
"@apollo/federation": "^0.13.2",
"@apollo/gateway": "^0.13.2",
"@nestjs/common": "^7.0.0",
"@nestjs/core": "^7.0.0",
"@nestjs/graphql": "^7.1.5",
"@nestjs/jwt": "^7.0.0",
"@nestjs/passport": "^7.0.0",
"@nestjs/platform-express": "^7.0.0",
"@nestjs/typeorm": "^7.0.0",
"apollo-server": "^2.11.0",
"apollo-server-express": "^2.11.0",
"class-transformer": "^0.2.3",
"class-validator": "^0.12.0-rc.0",
"config": "^3.3.1",
"graphql": "^14.6.0",
"graphql-tools": "^4.0.7",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^6.5.4",
"typeorm": "^0.2.24",
"uuid": "^7.0.3".

我们将不胜感激!

0 个答案:

没有答案
相关问题