Annotation Type FederatedSource


  • @Retention(RUNTIME)
    @Target(PARAMETER)
    @Experimental("SmallRye GraphQL Federation is still subject to change.")
    public @interface FederatedSource
    A federated resolver method is the federated equivalent to a 'local' resolver method (with a parameter annotated as @Source), i.e. it adds a field with the name of the method and the type of the method return type to the source object. The class of the source parameter must be annotated as @Extends and have at least one field annotated as @External.