feature: add nullable option for IsNotEmptyObject decorator #678
Labels
status: done/released
Issue has been completed, no further action is needed.
type: feature
Issues related to new features.
Description
Currently, the
@IsNotEmptyObject
decorator allows objects with null values only. I would like an option for the@IsNotEmptyObject
decorator to fail validation when all object property isnull
orundefined
.Proposed solution
Minimal example of proposed feature:
The text was updated successfully, but these errors were encountered: