flask-pydantic icon indicating copy to clipboard operation
flask-pydantic copied to clipboard

fix: exclude context from pydantic errors #22

Open stevanmilic opened this issue 4 months ago • 3 comments

Resolves https://github.com/bauerji/flask-pydantic/issues/86

  • Adds include_error_url, include_error_context, include_error_input to validate(...) method; the parameters are propagated to pydantic's errors() method. Providing flexibility in terms of using these values that might break serialization.
  • Adds type hints to account for typed error details dict

stevanmilic avatar Oct 08 '24 15:10 stevanmilic