-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/transform schema interfaces implementing interfaces #2246
Fix/transform schema interfaces implementing interfaces #2246
Conversation
@m4rw3r: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/ |
Hi folks! I just wanted to see if this PR is going to still be merged -- my team has run into apollographql/federation#227 in our use case and it would be great to have that fixed so we could make use of interface inheritance. |
Bumping this issue. This functionality is officially recognized and was merged into the the GraphQL Specification on Jan 10, 2020. See here. This pattern is particularly helpful for reducing downstream
|
Hi, is there any progress on this issue? I would like to support merging this change. |
Apollo team -- anything the community can do to help here? Can re-open PR with the contributor license signed if that would help. |
I did sign the CLA way back, and tests pass locally, the circleci test seems to have failed for some unrelated reason. I guess a rebase could help? |
worth a shot! |
If we do not rename interfaces we will end up with duplicate type-instances with identical names and then fail Schema creation.
ae29b04
to
eb196db
Compare
The Windows test is still failing despite rebase, due to the wrong NodeJS version being installed:
The actual used version used above seems to be v14.17.5: https://app.circleci.com/pipelines/github/apollographql/apollo-tooling/12104/workflows/2ed184d5-e5ba-4104-9dea-600b5def5c79/jobs/137143/parallel-runs/0/steps/0-102 But the successful test on master uses v14.16.1: https://app.circleci.com/pipelines/github/apollographql/apollo-tooling/12055/workflows/7b62fcba-3c52-4ee2-8a5d-24a399209fc5/jobs/136772/parallel-runs/0/steps/0-102 |
This PR fixes apollographql/federation#227
TODO:
*Make sure changelog entries note which project(s) has been affected. See older entries for examples on what this looks like.