scotthovestadt / schema-object

Enforce schema on JavaScript objects, including type, transformation, and validation. Supports extends, sub-schemas, and arrays.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not write empty arrays or objects toObject()

scotthovestadt opened this issue · comments

To preserve old behavior, use option setUndefined: true. The default is false.