我一直在看文档,但在apollo和graphql-tools之间,API经常变化。 当我运行此脚本时,控制台显示“错误:必须提供查询根类型。”import { ApolloServer } from "apollo-server";import{ UrlLoader } from "@graphql-tools/url-loader";
import { sti
at new CombinedError (/Users/gabroun/Documents/Sites/react-kanban/server/node_modules/graphql-tools/distObject.checkResultAndHandleErrors (/Users/gabroun/Documents/Sites/react-kanban/server/node_modules/<em
graphql-server_1 | at new CombinedError (/usr/src/app/node_modules/graphql-binding/node_modules/graphql-tools| at Object.checkResultAndHandleErrors (/usr/src/app/node_modules/graphql-binding/node_modules/grap
new CombinedError (/Users/ldu020/workspace/github.com/mrdulin/apollo-graphql-tutorial/node_modules/graphql-tools" at /Users/ldu020/workspace/github.com/mrdulin/apollo-graphql-tutorial/node_modules/gr