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

fix ValidationError.json() #922

Merged
merged 1 commit into from Oct 23, 2019
Merged

fix ValidationError.json() #922

merged 1 commit into from Oct 23, 2019

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Oct 22, 2019

Change Summary

Fix JSON serialization errors on ValidationError.json() by using pydantic_encoder.

Checklist

  • Unit tests for the changes exist
  • Tests pass on CI and coverage remains at 100%
  • changes/<pull request or issue id>-<github username>.md file added describing change
    (see changes/README.md for details)

@codecov
Copy link

codecov bot commented Oct 22, 2019

Codecov Report

Merging #922 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #922   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          16     16           
  Lines        2799   2800    +1     
  Branches      543    543           
=====================================
+ Hits         2799   2800    +1
Impacted Files Coverage Δ
pydantic/error_wrappers.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f5cde39...9e91157. Read the comment docs.

@samuelcolvin samuelcolvin merged commit cb262da into master Oct 23, 2019
@samuelcolvin samuelcolvin deleted the ValidationError.json branch October 23, 2019 09:27
andreshndz pushed a commit to cuenca-mx/pydantic that referenced this pull request Jan 17, 2020
alexdrydew pushed a commit to alexdrydew/pydantic that referenced this pull request Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant