Skip to content

v4.0.0

Compare
Choose a tag to compare
@d-ganchar d-ganchar released this 24 Jan 13:43
· 41 commits to master since this release
da047bb

Changes

  • Rule's does not return a list of errors. Rule returns a valid value if not raised RuleError(or ListRuleError). You can find all collected errors using InvalidRequestError. See demo_error_formatter. Attention! demo_error_formatter is just a demo(not supported). Feel free to suggest a new formatter.
  • error modifications
  • Added DatetimeRule
  • kwargs is no longer supported in routes(see ValidRequest example below)
  • Added nested JSON validation