Apollo Server Express 3在一段时间后返回意外的空值
Apollo Server Express V3的工作原理就像魅力一样,它返回正确 但是,在间隔登录服务器一段时间后, 它返回了空的,而不是我在服务器控制台日志中看到的正确响应
,即返回的值在解析器中是正确的,但是与GraphQl本身有关的东西会混乱。
服务器重新启动后,它再次工作正常。
这偶尔出于明显的原因而偶尔发生。
有人遇到了同样的问题并为此提供解决方案?
Apollo server express v3 works like a charm, and it returns properly
however, after a while of hitting server on intervals,
it returns null instead of the correct response
I can see in the server console log that the returned value is correct in the resolver, but something gets messed up with the graphql itself.
After server restart, it works fine again.
This occurs every once in a while for no apparent reason.
Has anyone encountered the same issue and have a solution for it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论