Skip to content

fix(common): exclude pipe options from validator options - #17399

Open
coxxny wants to merge 3 commits into
nestjs:masterfrom
coxxny:fix/validation-pipe-validator-options
Open

fix(common): exclude pipe options from validator options#17399
coxxny wants to merge 3 commits into
nestjs:masterfrom
coxxny:fix/validation-pipe-validator-options

Conversation

@coxxny

@coxxny coxxny commented Jul 30, 2026

Copy link
Copy Markdown

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: #17398

What is the new behavior?

exceptionFactory, validatorPackage, and transformerPackage are now excluded from validatorOptions.

Providing one of these ValidationPipe-specific options no longer causes classToPlain to be executed, and the original input value is returned unchanged when no actual ValidatorOptions are specified.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 1027

Coverage remained the same at 90.306%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: 3 of 3 lines across 1 file are fully covered (100%).
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 8665
Covered Lines: 7825
Line Coverage: 90.31%
Relevant Branches: 2955
Covered Branches: 2412
Branch Coverage: 81.62%
Branches in Coverage %: No
Coverage Strength: 56.77 hits per line

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants