-
-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
I have the following template code
{{- publicProperties = class.Properties | Custom.HasPublicSetter
if (class.BaseClass?.Properties)
publicProperties = Array.AddRange(publicProperties, class.BaseClass?.Properties | Custom.HasPublicSetter)
end
referencedClassTypes = publicProperties | Custom.GetClassTypes
}}
where GetClassTypes is defined as
public static IEnumerable<IType> GetClassTypes(IEnumerable<IProperty> publicProperties)
When rendering I get the error "Unable to convert type range to IEnumerable<IProperty>"
Is there a way to join arrays and keep type information?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels