diff --git a/packages/common/pipes/validation.pipe.ts b/packages/common/pipes/validation.pipe.ts index 6163ea0d4d5..11de63be218 100644 --- a/packages/common/pipes/validation.pipe.ts +++ b/packages/common/pipes/validation.pipe.ts @@ -206,6 +206,9 @@ export class ValidationPipe implements PipeTransform { if (metatype === Number) { return +value; } + if (metatype === String) { + return String(value); + } return value; }