graphql-inspector
graphql-inspector copied to clipboard
commands with --federation not working.
Issue workflow progress
Progress of the issue based on the Contributor Workflow
- [ ] 1. The issue provides a reproduction available on GitHub, Stackblitz or CodeSandbox
Make sure to fork this template and run
pnpm generatein the terminal.Please make sure the Codegen and plugins version under
package.jsonmatches yours. - [ ] 2. A failing test has been provided
- [ ] 3. A local solution has been provided
- [ ] 4. A pull request is pending review
Describe the bug
graphql-inspector diff not working for schemas with federated directives like @link, @key, @shareable.
I tried supplying --federation tag to the command, still it does not work. Any other way to make it work is helpful..
To Reproduce Steps to reproduce the behavior:
Expected behavior
Environment:
- OS:
@graphql-inspector/...:graphql:- NodeJS:
Additional context
Hi @anandwali, I appreciate you bringing up this new issue :)
Could you kindly provide more details? I attempted to reproduce it, but everything seemed to be working perfectly fine.
I think the issue is Apollo Federation support was added back in 2020 for v1 of Federation and hasn't been updated since for v2.0 or newer