Open
Description
A version of @IsOptional
that would allow null but not undefined would be a great add for a lot of use cases. Additionally, a version that allowed undefined but not null would come in handy for certain operations as well - I would think this is what @IsOptional
should do, but the docs state that it allows null AND undefined, which I don't think is particularly intuitive.