This commit is contained in:
Zoe Roux 2021-01-24 23:12:04 +01:00
parent 4a15fa8363
commit 3f5a0c060c

View File

@ -231,7 +231,7 @@ namespace Kyoo.Controllers
foreach (PropertyInfo property in typeof(T).GetProperties()
.Where(x => typeof(IEnumerable).IsAssignableFrom(x.PropertyType)
&& !typeof(string).IsAssignableFrom(x.PropertyType))
&& !typeof(string).IsAssignableFrom(x.PropertyType)))
{
// TODO For DE classes (like ShowDE), the basic ienumerable should not be verified (for exemple, GenreLinks should be checked & not Genres).
Console.WriteLine($"Validating {property.Name}");