标签: node.js graphql express-graphql
我正在使用graphql-request来请求数据
graphql-request
return request('/graphql', flightDetailsQuery, variables).then(res => res);
这将返回__proto__: Object,但我需要__proto__: Promise。我可以在请求中指定它吗?
__proto__: Object
__proto__: Promise