typia
"Super-fast/easy runtime validators and serializers via transformation"
Dependencies
Importing the validator
Generate your types
If you generate your types before writing validation, they will be available to help you define the constraint.
Do not write the schema in other file
The current validator transforms the config file, so the schema must be inside it.
Do not pass the function without executing it
Do not pass the function to the validator without executing it, typia will not read it correctly.
Validate
To validate, just run the validate command: