Skip to content

v0.8.4

Choose a tag to compare

@github-actions github-actions released this 19 Oct 16:02
· 6 commits to main since this release

Patch Changes

  • A property typed T | null keeps null in its schema when @IsOptional() lets null through, even if a class-validator decorator such as @IsString() sets its type. Without @IsOptional() the validator rejects null, so the schema still leaves it out. A property typed T | undefined without ? is no longer required when it has no class-validator decorators.