Skip to content

Commit

Permalink
Do not skip null properties on validation / transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Dec 18, 2024
1 parent 72c7acc commit d14a8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/validation/validation.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class ValidationPipe extends BaseValidationPipe {
constructor(private readonly moduleRef: ModuleRef) {
super({
transform: true,
skipMissingProperties: true,
skipUndefinedProperties: true,
exceptionFactory: (es) => new ValidationException(es),
});
}
Expand Down

0 comments on commit d14a8eb

Please sign in to comment.