-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Current implementation checks if parameter type is class. This check fails if we use ICollection<T>
as parameter type.
ASP.NET is able to deserialize to it, it is also possible to create and register IValidator<ICollection<T>>
.
What is the reason for not allowing such interfaces to be auto-validated?
In PR with refactor of IsCustomType
(#32) it is proposed to change to even more strict, by disallowing anything that implements IEnumerable, which I would consider breaking change and would like to understand the reason for it.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request