Closed dariuszkuc closed 1 year ago
For convenience -> link to the Federation v2.3 subgraph spec definitions
Support added in https://github.com/mirumee/ariadne/pull/1060
Hey @dariuszkuc, just wanted to say that I appreciate you taking time keep an eye on Federation support in Ariadne.
Thank you <3
Apollo Federation v2.3 introduced new
@interfaceObject
directive that allows users to extend entity functionality through inheritance, i.e. given subgraph AWe can generically extend the Product interface in other subgraphs by treating it as local object type with
@interfaceObject
directive. This new directive informs composition logic that it is actually an entity interface. This allows us to add new functionality in subgraph B without knowing any existing implementation details (i.e. without knowing anything about Book and Movie types).Additional resources:
New directive functionality can be tested using Apollo Federation Subgraph Compatibility NPX script (and Github Action). Example integration project is already provided in the subgraph compatibility testing repository.