Base options type for all validators
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
message |
string
|
<optional> |
Custom error message to display when validation fails |
async |
boolean
|
Indicates whether the validator associated with the decorator performs asynchronous validation logic.
Use |