• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nestjs / nest / 0f9b6c20-02ec-4f86-accd-ac87f432d4ca

20 Apr 2025 06:16PM UTC coverage: 89.387% (+0.07%) from 89.321%
0f9b6c20-02ec-4f86-accd-ac87f432d4ca

Pull #14994

circleci

kitihounel
feat(common): add pipes for multiple files validation

When dealing with file uploads, NestJS offers the `ParseFilePipe` to help validate files uploaded under the same name. But when several files are uploaded with different names, there is not built-in pipe available and the validation is usually done in the controller method or service. This commit add two new pipes, `ParseFileFieldsPipe` and `GroupFilesPipe` that can be used two validate multiple files together in association with the `UploadedFiles` decorator and `FileValidator`.
Pull Request #14994: feat(common): add pipes for multiple files validation

2711 of 3397 branches covered (79.81%)

40 of 40 new or added lines in 3 files covered. (100.0%)

7201 of 8056 relevant lines covered (89.39%)

16.3 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/packages/microservices/errors/empty-response.exception.ts
1
/**
2
 * @publicApi
3
 */
4
export class EmptyResponseException extends Error {
1✔
5
  constructor(pattern: string) {
6
    super(
×
7
      `Empty response. There are no subscribers listening to that message ("${pattern}")`,
8
    );
9
  }
10
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc