Validly
Github
  • Introduction
  • Getting Started
    • Quickstart
    • Installation
    • Configuration
    • Benchmarks
  • Basics
    • Defining Validations
    • Handling Validation Result
    • Automatically Added Validators
  • Validators
    • Build-in Validators
      • Common
      • Strings
      • Numbers
      • Enums
      • Collections
    • Creating Custom Validators
    • Manual Validation
      • CustomValidation Attribute
      • Before And After Hooks
Powered by GitBook
On this page
  • Required
  • NotEmpty
  1. Validators
  2. Build-in Validators

Common

Common built-in validators for multiple data types

Required

Ensures a value is present, treating it as required. For strings, it optionally allows empty values based on the allowEmptyStrings parameter.

NotEmpty

Ensures the value is not empty. Can be applied to strings or collections.

PreviousBuild-in ValidatorsNextStrings

Last updated 6 months ago