Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass schema instance to error handlers #250

Merged
merged 1 commit into from Jul 15, 2018
Merged

Commits on Jul 15, 2018

  1. Pass schema instance to error handlers

    * @error_handler and handle_error receive schema instance
    * In Flask, the Schema instance is attached to HTTPExceptions and
      is accessible from error.data["schema"]
    
    See marshmallow-code/marshmallow#840 (comment)
    sloria committed Jul 15, 2018
    Copy the full SHA
    3ead80a View commit details
    Browse the repository at this point in the history