Skip to content

v2.1.3

Compare
Choose a tag to compare
@mairatma mairatma released this 03 Aug 16:38
· 814 commits to master since this release

New Features

  • All validators from metal-state now accept null/undefined values by default - #140

  • The shapeOf validator can now also receive objects built via Config, enabling you to not just use validators, but also the required flag. For example:

    Config.shapeOf({
      myOptionalProp: Config.number(),
      myRequiredProp: Config.number().required()
    });