Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

v0.6.5

Compare
Choose a tag to compare
@gcanti gcanti released this 15 Sep 07:20
· 19 commits to v0.6.x since this release
  • Internal
    • upgrade to latest version of tcomb-validation (2.2.0)
    • removed debug dependency
  • New Feature
    • added argument context to error options that are functions (new signature: error(value, path, context))
    • added error option default if the type constructor owns a getValidationErrorMessage(value, path, context) function
    • added context prop to all components (passed into error as context argument)