Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno_class_validator/src/index.ts>ValidationArguments

Decorator-based property validation for classes.
Latest
interface ValidationArguments
Re-export
import { type ValidationArguments } from "https://deno.land/x/deno_class_validator@v1.0.0/src/index.ts";

Arguments being sent to message builders - user can create message either by simply returning a string, either by returning a function that accepts MessageArguments and returns a message string built based on these arguments.

Properties

value: any

Validating value.

constraints: any[]

Constraints set by this validation type.

targetName: string

Name of the target that is being validated.

object: object

Object that is being validated.

property: string

Name of the object's property being validated.