You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are using a redundant @IsString and @IsDefined class validators throughout the codebase for validation checks at various places. The @IsString validation already takes place with the subsequent @IsUUID() validator internally. Same goes for @IsDefined which checks for !=null or !=undefined which is already being checked under @IsNotEmpty() which checks for != '' or !=null or !=undefined. We should remove these redundant class validators.
The text was updated successfully, but these errors were encountered:
Version where bug was found:
e.g "6.0.0"
Describe the bug
We are using a redundant
@IsString
and@IsDefined
class validators throughout the codebase for validation checks at various places. The@IsString
validation already takes place with the subsequent@IsUUID()
validator internally. Same goes for@IsDefined
which checks for!=null or !=undefined
which is already being checked under@IsNotEmpty()
which checks for!= '' or !=null or !=undefined
. We should remove these redundant class validators.The text was updated successfully, but these errors were encountered: