pydantic / pydantic-core

Core validation logic for pydantic written in rust
MIT License
1.34k stars 207 forks source link

fail-fast list schema configuration #1321

Closed uriyyo closed 1 week ago

uriyyo commented 1 month ago

Hi all,

I saw this feature request several times in the past (latest one).

So basically the idea is to stop the list items validation on a first error. This is useful when you don't want to validate the whole list if one of the items is invalid.

I didn't find simular issue so I decided to create a new one. Please, let me know if there is already a similar issue or if this feature was already discussed!