Class NotBlankRule

    • Constructor Detail

      • NotBlankRule

        public NotBlankRule()
    • Method Detail

      • getDocumentation

        public Documentation getDocumentation()
        Returns:
        documentation meta data about this constraint
      • appliesToType

        public boolean appliesToType​(graphql.schema.GraphQLInputType inputType)
        Description copied from class: AbstractDirectiveConstraint
        A derived class will be called to indicate whether this input type applies to the constraint
        Specified by:
        appliesToType in class AbstractDirectiveConstraint
        Parameters:
        inputType - the input type
        Returns:
        true if the constraint can handle that type