Skip to content

feat: standard schema validation pipe, and standard serializer, introduce internal export subpath#16373

Merged
kamilmysliwiec merged 9 commits intorefactor/minor-tweaksfrom
feat/param-decorator-options
Feb 15, 2026
Merged

feat: standard schema validation pipe, and standard serializer, introduce internal export subpath#16373
kamilmysliwiec merged 9 commits intorefactor/minor-tweaksfrom
feat/param-decorator-options

Conversation

@kamilmysliwiec
Copy link
Copy Markdown
Member

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: N/A

What is the new behavior?

  1. Introduces a new StandardSchemaValidationPipe that allows using any popular validation library (like zod, valibot etc) instead of class-validator. The schema attribute can be passed to any route handler decorator (like @Body, @Query etc)
  2. Same goes for StandardSchemaSerializerInterceptor
  3. Introduce the /internal subpath export for more organized internal exports to be used by other NestJS packages in the ecosystem

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kamilmysliwiec kamilmysliwiec marked this pull request as ready for review February 15, 2026 15:42
@kamilmysliwiec kamilmysliwiec merged commit a21fd1d into refactor/minor-tweaks Feb 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant