-
Notifications
You must be signed in to change notification settings - Fork 85
Description
Currently, only data types itself are tested. This has been introduced in 61b353c. Validation benchmarks without basic data content validation is way too shallow to be called a validation benchmark. At best it is a type guard, but that has nothing to do with data validation. Almost all real-life validation code does use features like enums, negative number checks, string length limits, or email checks, etc. If this is not part of this benchmark, then this benchmark is highly misleading.
If a validator library is not able to validate the actual content for something like number ranges, or string length etc, then it should not be called data validator and not be part of this benchmark suite.
If you focus only on type guards only, without data content checks, then please add this to the README. Then we can remove the benchmark links from Marshal since comparing apple with oranges it the last people want.