最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

node.js - Error: shouldn't happen: missing parent type for field - Stack Overflow

programmeradmin6浏览0评论

I am using Apollo federation with node js and getting this error, I am not able to track where the error is happening, how to track this error in which query it's happening and how to fix it

Error: shouldn't happen: missing parent type for field xxxxx at Object.Field (/app/node_modules/@apollo/utils.usagereporting/dist/calculateReferencedFieldsByType.js:20:23) at Object.enter (/app/node_modules/graphql/utilities/TypeInfo.js:391:27) at visit (/app/node_modules/graphql/language/visitor.js:197:21) at calculateReferencedFieldsByType (/app/node_modules/@apollo/utils.usagereporting/dist/calculateReferencedFieldsByType.js:15:25) at getOperationDerivedData (/app/node_modules/@apollo/server/dist/cjs/plugin/usageReporting/plugin.js:435:112) at addTrace (/app/node_modules/@apollo/server/dist/cjs/plugin/usageReporting/plugin.js:386:58)

发布评论

评论列表(0)

  1. 暂无评论