我正在尝试使用aor-simple-graphql-client和我的apollo服务器。我有一个包含少量元素的数组,其余的管理员只显示最后一个元素。当我使用graphiql执行相同的请求时,我可以看到所有元素。
这是我的回购:https://github.com/JeresB/cuistot-aor 这里有一张图片来解释错误。 enter image description here
答案 0 :(得分:0)
我遇到了同样的问题,我正在使用猫鼬而我只是用id https://github.com/tepio/mongoose-rename-id重命名_id现在它似乎工作正常
希望有所帮助