Do not write empty arrays or objects toObject()
scotthovestadt opened this issue · comments
scotthovestadt commented
scotthovestadt commented
To preserve old behavior, use option setUndefined: true
. The default is false.
Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.
scotthovestadt opened this issue · comments
To preserve old behavior, use option setUndefined: true
. The default is false.