【发布时间】:2018-04-09 11:11:47
【问题描述】:
我正在从this espn endpoint 获取数据 我也是 GraphQL 的新手,对获取嵌套信息不是很熟悉。
在上面的 github 存储库中,我目前正在处理“schema1.js”文件,当我运行它时,控制台会抛出错误:Boxscore.teams field type must be Output Type but got: undefined.
通常我会在下面发布 schema1.js,但它太大而无法正确格式化。
感谢任何帮助!
【问题讨论】:
标签: node.js express graphql graphql-js apollo