Annotation Type Requires


  • @Description("In order to resolve the annotated field, this service needs these additional `@external` fields, even when the client didn\'t request them.")
    @Retention(RUNTIME)
    @Experimental("SmallRye GraphQL Federation is still subject to change. Additionally, this annotation is currently only a directive without explicit support from the extension.")
    public @interface Requires
    directive @requires(fields: _FieldSet!) on FIELD_DEFINITION
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      @NonNull String[] fields  
    • Element Detail

      • fields

        @NonNull
        @NonNull String[] fields