nestjs-form-data icon indicating copy to clipboard operation
nestjs-form-data copied to clipboard

NestJS middleware for handling multipart/form-data, which is primarily used for uploading files.

Results 20 nestjs-form-data issues
Sort by recently updated
recently updated
newest added

Bumps [minimist](https://github.com/minimistjs/minimist) from 1.2.5 to 1.2.7. Changelog Sourced from minimist's changelog. v1.2.7 - 2022-10-10 Commits [meta] add auto-changelog 0ebf4eb [actions] add reusable workflows e115b63 [eslint] add eslint; rules to enable...

dependencies

Hi, When I'm trying to send a request (POST) with multiple files and I set a custom error message to `@IsFiles()` decorator, it will cause a 400 bad request error....

I'm trying to upload a video using such a structure ``` export class VideoUploadData { @IsFile() @MaxFileSize(10 * 1024 * 1204) @ApiProperty() file: MemoryStoredFile; @ApiProperty() fieldName: string; } ``` In...

This PR will fix the deprecated warning message: The signature `(error: any): Observable` of `throwError` is deprecated.

This is the DTO (excerpt from it): ```ts { ... @IsArray() @ArrayMinSize(1) @ValidateIf((o) => o.type === AddHubElementTypes.AUDIO || o.type === AddHubElementTypes.GENERAL) @ValidateNested({ each: true }) @Type(() => AudioUrlDto) @ApiProperty() @Transform(({...

I am using HasMimeType decorator of 'nestjs-form-data' in dto. @HasMimeType([ 'image/bmp', 'image/gif', 'image/jpeg', 'image/png', 'image/webp', 'image/svg+xml', ]) When uploading the svg file of mime type 'image/svg+xml', I was getting validation...

_First of all - thank you for such cool lib and my issue has more propose or even ask character. So..._ I often run my code with debugger and because...