Skip to content

Releases: d-ganchar/flask_request_validator

v4.0.0

24 Jan 13:43
da047bb
Compare
Choose a tag to compare

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