Skip to content

Is each field meant to be validated by at most one validator? #4087

Discussion options

You must be logged in to vote

Ahh, judging by https://github.com/samuelcolvin/pydantic/blob/8846ec4685e749b93907081450f592060eeb99b1/pydantic/fields.py#L1116-L1124 it looks like we stop validating a field as soon as one of its validators reports an error.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@samuelcolvin
Comment options

@DMRobertson
Comment options

@samuelcolvin
Comment options

@DMRobertson
Comment options

Answer selected by DMRobertson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants