Current implementation of decorators, include: @IsFieldData, doesn't accept a FormData which has a optional file upload.
Please think of adding below parameters to make optional FieldData possible in DTO:
@IsFieldData({required: false })
file? FieldData
I could contribute it in a pr.
Current implementation of decorators, include: @IsFieldData, doesn't accept a FormData which has a optional file upload.
Please think of adding below parameters to make optional FieldData possible in DTO:
I could contribute it in a pr.