fix: fixed fields/properties like behaviour controllers not being explored by entity finder
This commit is contained in:
@@ -15,11 +15,6 @@ internal static class Utils
|
||||
.Where(pi => pi.SetMethod is not null)
|
||||
.ToList();
|
||||
|
||||
propertyInfos.AddRange(
|
||||
GetPropertyInfosIncludingBaseClasses(objectType, BindingFlags.Instance | BindingFlags.FlattenHierarchy | BindingFlags.NonPublic)
|
||||
.Where(pi => pi.SetMethod is not null && pi.GetCustomAttribute<SerializeAttribute>() is not null)
|
||||
);
|
||||
|
||||
return new TypeData(fieldInfos, propertyInfos);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user