class-validator
class-validator copied to clipboard
Please add a JavaScript verification decorator item
Description
Please add JavaScript verification decorator item There are public, type, number, date, string type, string, string, array, object, and other items, but no JavaScript entries.
https://github.com/typestack/class-validator?tab=readme-ov-file#validation-decorators
Proposed solution
- ValidateNested
- ValidateIf
- ValidatePromise
The items above are defined as decorators in the document but do not exist in the current decorator list.