What primitive value (or in that form) is need to pass to transform it and to validate and throw error if I entered 1a and not 1.
It return NaN only.
Here, In nest/packages/common/pipes/validation.pipe.ts, line 113 , it transform and out without validation
if (!metatype || !this.toValidate(metadata)) {
Here it check if it is primitive nest/packages/common/pipes/validation.pipe.ts, line 122, like it want to validate it and throw error, but not come to that point if is validating 1 or 1a.
const isPrimitive = this.isPrimitive(value);