Package graphql

Class Directives


  • @PublicApi
    public class Directives
    extends java.lang.Object
    The directives that are understood by graphql-java
    • Constructor Detail

      • Directives

        public Directives()
    • Method Detail

      • 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