-
Notifications
You must be signed in to change notification settings - Fork 359
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
federation: add support for Apollo Federation subgraph spec v2.3 #1661
Conversation
Apollo Federation Subgraph Compatibility Results
Learn more: |
note: I fixed the federation workflows in the PR but we won't get updated results (for |
Updates `federation` module to support Apollo Federation subgraph spec v2.3 Changes: * v2.2 - update `@shareable` definition to be repeatable to allow annotating both types and their extensions (NOTE: this functionality is not applicable to `graphql-kotlin`) * v2.3 - adds new `@interfaceObject` directive that allows you to extend interface entity functionality in subgraphs, i.e. by applying `@interfaceObject` directive on a type we provide meta information to the composition logic that this entity type is actually an interface in the supergraph. This allows us to extend interface functionality without knowing any of its implementing types.
📝 Description
Updates
federation
module to support Apollo Federation subgraph spec v2.3Changes:
@shareable
definition to be repeatable to allow annotating both types and their extensions (NOTE: this functionality is not applicable tographql-kotlin
)@interfaceObject
directive that allows you to extend interface entity functionality in subgraphs, i.e. by applying@interfaceObject
directive on a type we provide meta information to the composition logic that this entity type is actually an interface in the supergraph. This allows us to extend interface functionality without knowing any of its implementing types.🔗 Related Issues