-
### What version of `million` are you using?
0.0.73
### Are you using an SSR adapter? If so, which one?
None
### What package manager are you using?
npm
### What operating system are…
-
This is related to validation. Null values sent for attributes defined as boolean are converted to false.
## Sorting
- **I'm submitting a ...**
- [ ] bug report
- [x] feature request
…
-
**I was trying to...**
Define DTOs for a user signup request:
```
export class SignupRequest {
@IsEmail()
@ApiProperty({ example: 'test@test.com', description: 'Email address' })
email…
-
**Describe the bug**
After upgrading to version 13.11.0, the validation of date strings stopped working as expected.
**Examples**
Here is a demonstration that compares the validation results …
-
I'm trying to have `isDate` working with custom pattern cannot figure out I still get errors, the docs are not very clear plus there is no example.
#### The router
```javascript
router.post(
…
-
"@chantouchsek/validatorjs": "^1.1.5"
if the validation rule is written incompletely, then when the rule is triggered, the validator crashes with an error.
correct rules (work):
```
validation…
-
Instead of passing custom `message` to each decorator.
-
Create a new ts file where one should cover :
- isHexColor
- isJSON
- isJWT
-
Developers should be able to add custom field names to the validation messages.
### Motivation
Currently, developers are able to add multiple languages to the API. It works like the following ex…
-
https://github.com/skaterdav85/validatorjs#custom-error-messages
From their readme:
"""
You can even provide error messages on a per attribute basis! Just set the message's key to 'validator.…