Package graphql

Class Directives

java.lang.Object
graphql.Directives

@PublicApi public class Directives extends Object
The directives that are understood by graphql-java
  • Field Details

  • Constructor Details

    • Directives

      public Directives()
  • Method Details

    • isExperimentalDisableErrorPropagationDirectiveEnabled

      public static boolean isExperimentalDisableErrorPropagationDirectiveEnabled()
      This can be used to get the state the `@experimental_disableErrorPropagation` directive support on a JVM wide basis .
      Returns:
      true if the `@experimental_disableErrorPropagation` directive will be respected
    • setExperimentalDisableErrorPropagationEnabled

      public static void setExperimentalDisableErrorPropagationEnabled(boolean flag)
      This can be used to disable the `@experimental_disableErrorPropagation` directive support on a JVM wide basis in case your server implementation does NOT want to act on this directive ever.
      Parameters:
      flag - the desired state of the flag