Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ValidatorConstraintInterface

Custom validators must implement this interface to provide custom validation logic.

Hierarchy

  • ValidatorConstraintInterface

Index

Methods

Optional defaultMessage

defaultMessage:

validate

  • Method to be called to perform custom validation over given value.

    Parameters

    Returns boolean | Promise<boolean>

Generated using TypeDoc