-
Notifications
You must be signed in to change notification settings - Fork 845
Open
Labels
status: needs triageIssues which needs to be reproduced to be verified report.Issues which needs to be reproduced to be verified report.type: fixIssues describing a broken feature.Issues describing a broken feature.
Description
Description
Recently a breaking change was introduced in validator v13.15.0 which made UUID validation strict by also validating the variant field. The recent update of class-validator brought this breaking change of validator library in 0.14.3 causing failures for UUID like ID validations.
isUUID('240d8c21-a21e-4282-0674-176658866702') // false since 0.14.3Expected behavior
UUID Validation for UUID like strings should pass when in loose mode, introduced in [email protected]. loose mode should be properly exposed for consumption.
isUUID('240d8c21-a21e-4282-0674-176658866702', 'loose') // trueActual behavior
There is no loose mode to opt-into resulting in failed validations.
Uaitt and typenoob
Metadata
Metadata
Assignees
Labels
status: needs triageIssues which needs to be reproduced to be verified report.Issues which needs to be reproduced to be verified report.type: fixIssues describing a broken feature.Issues describing a broken feature.