从graphql-request

时间:2019-01-17 07:03:47

标签: node.js graphql express-graphql

我正在使用graphql-request来请求数据

 return request('/graphql', flightDetailsQuery, variables).then(res => res);

这将返回__proto__: Object,但我需要__proto__: Promise。我可以在请求中指定它吗?

0 个答案:

没有答案