Annotation Type Shareable


  • @Description("Indicates that an object type\'s field is allowed to be resolved by multiple subgraphs (by default in Federation 2, object fields can be resolved by only one subgraph).")
    @Retention(RUNTIME)
    @Experimental("SmallRye GraphQL Federation is still subject to change.")
    public @interface Shareable
    directive @shareable on FIELD_DEFINITION | OBJECT
    See Also:
    federation spec