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
  1. Validators

Build-in Validators

PreviousAutomatically Added ValidatorsNextCommon

Last updated 6 months ago

Validly includes the NuGet package Validly.Extensions.Validators, which provides a set of predefined validators for handling common validation scenarios. These built-in validators simplify validation tasks such as checking required fields, enforcing string length constraints, ensuring numeric ranges, validating email formats, and more.

If you notice a missing common validator, feel free to reach out to us or contribute directly by submitting a pull request.

Validators are categorized based on the types of data they validate. For detailed information, refer to the respective pages:

  • validators,

  • validators,

  • validators,

  • validators,

  • validators.

Common
String
Number
Enum
Collection