Annotation Type Directive


  • @Target({METHOD,FIELD,PARAMETER,TYPE})
    @Retention(RUNTIME)
    public @interface Directive
    A way of activating a graphql directive - put this annotation on top of the graphql field/argument and determine which directive you wish to use
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String[] argumentsValues  
    • Element Detail

      • name

        java.lang.String name
      • argumentsValues

        java.lang.String[] argumentsValues
        Default:
        {}