DamianEdwards / MiniValidation

A minimalist validation library for .NET built atop the existing features in `System.ComponentModel.DataAnnotations` namespace
MIT License
321 stars 25 forks source link

Support IEnumerable polymorphism #28

Closed DamianEdwards closed 1 year ago

DamianEdwards commented 2 years ago

Validation of IEnumerable members is not polymorphic right now (likely includes items in the IEnumerable too).

DamianEdwards commented 1 year ago

I don't think this is actually true as the validator is just checking if the runtime object target is IEnumerable right now so doesn't care what it's actual type is.