Annotation Type InterfaceObject
-
@Retention(RUNTIME) @Description("Indicates that an object definition serves as an abstraction of another subgraph\'s entity interface. This abstraction enables a subgraph to automatically contribute fields to all entities that implement a particular entity interface.\nDuring composition, the fields of every @interfaceObject are added both to their corresponding interface definition and to all entity types that implement that interface.") @Experimental("SmallRye GraphQL Federation is still subject to change.") public @interface InterfaceObject
directive @interfaceObject on OBJECT
- See Also:
- federation spec