You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! First, huge thanks for providing this. Already caught an issue for us with graph composition.
I'm running into an error when generating output using the --out option. It runs successfully without the option, but fails with it set. I'm concerned that it may not be producing output for every operation it finds, but I can't tell which operation is causing the issue.
Unset:
$ npx github:@apollosolutions/federation-2-readiness
? Select Graph mygraph
? Select Variant production
✅ Schema composes with Federation v1
✅ Schema composes with Federation v2
? Use the same graphRef? mygraph@production Yes
? Audit Operations in the Last Day
-----------------------------------
✅ Operations audited: 335
🏆 Operations that match: 304
❌ Operations with differences: 31
Add --out <directory> to print reports for each operation.
--out set:
❯ npx github:@apollosolutions/federation-2-readiness --out readiness-output/
? Select Graph mygraph
? Select Variant production
✅ Schema composes with Federation v1
✅ Schema composes with Federation v2
? Use the same graphRef? mygraph@production Yes
? Audit Operations in the Last Day
-----------------------------------
✅ Operations audited: 335
🏆 Operations that match: 304
❌ Operations with differences: 31
Internal Error: Invalid query plan
at queryPlanToMermaid (file:///Users/me/.npm/_npx/32197df7ba70c1ce/node_modules/@apollosolutions/federation-2-readiness/src/federation/queryPlanToMermaid.js:100:11)
at AuditCommand.execute (file:///Users/me/.npm/_npx/32197df7ba70c1ce/node_modules/@apollosolutions/federation-2-readiness/src/commands/audit.js:391:15)
at async AuditCommand.validateAndExecute (/Users/me/.npm/_npx/32197df7ba70c1ce/node_modules/clipanion/lib/advanced/Command.js:73:26)
at async Cli.run (/Users/me/.npm/_npx/32197df7ba70c1ce/node_modules/clipanion/lib/advanced/Cli.js:222:24)
at async Cli.runExit (/Users/me/.npm/_npx/32197df7ba70c1ce/node_modules/clipanion/lib/advanced/Cli.js:231:28)
The text was updated successfully, but these errors were encountered:
Hi! First, huge thanks for providing this. Already caught an issue for us with graph composition.
I'm running into an error when generating output using the
--out
option. It runs successfully without the option, but fails with it set. I'm concerned that it may not be producing output for every operation it finds, but I can't tell which operation is causing the issue.Unset:
--out
set:The text was updated successfully, but these errors were encountered: