class GraphQL::Schema::Validator::AllowBlankValidator

Use this to specifically reject values that respond to .blank? and respond truthy for that method.

Examples

Example: Require a non-empty string for an argument

argument :name, String, required: true, validate: { allow_blank: false }