为什么这个投掷“不能返回无效的字段查询。
几周前,我有一个发誓工作的GraphQl Server,但是现在,它突然抛出了“无法无效的字段”错误。
是的,我已经检查了重复。是的,我已经搜索了它。是的,我已经检查了相关的GitHub问题。
我在此处创建了最小的repro: https:// -drkgtc?file = index.js 。我累了,要么在我错过的地方有一些次要包装版本的破坏。
有人知道这里发生了什么吗?
I had a GraphQL server that I swear worked just a few weeks ago, but now, it's suddenly throwing "cannot null non-nullable field" errors.
Yes, I have checked for duplicates. Yes, I have googled it. Yes, I have checked for related GitHub issues.
I created a minimal repro here: https://stackblitz.com/edit/graphql-drkgtc?file=index.js. Either I'm tired, or there's some breaking change in a minor package version somewhere that I missed.
Does anyone have an idea what is going on here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试此对象的
root
变量:Try this object for
root
variable: