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: check only first sublevel for validators with each_item #1991

Merged
merged 3 commits into from Feb 11, 2021

Commits on Oct 11, 2020

  1. fix: check only first sublevel for validators with each_item

    When using a validator with `each_item`, the items are all validated
    one by one. But if the items are also iterable the subitems would then
    be validated because the validator would be kept as it is.
    Now the validator passed to the items is changed and won't be propagated
    
    closes pydantic#1933
    PrettyWood committed Oct 11, 2020
    Copy the full SHA
    9b9495b View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2021

  1. Copy the full SHA
    94ee8f5 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    4fad457 View commit details
    Browse the repository at this point in the history