我正在使用value={textField}
来运行带有pyramida数据库的GraphQL服务器。我的主要架构在下面列出,仅使用Form.Control
来导入其他apollo-server-express
文件。当我尝试在本地运行服务器时,收到以下消息:
错误:模块构建失败(来自./node_modules/graphql-tag/loader.js): GraphQLError:语法错误:意外的
很显然,GraphQL希望graphql-tag/loader
声明一些类型,等等。有没有办法解决这个问题,以便我可以拥有一个.graphql
文件,它所做的就是导入其他{{1 }}个文件?
schema / schema.graphql:
schema/schema.graphql
index.js:
.graphql