This is the final suggestion:
- Simple types in Business Logic interface parameters will be typed as
ICollection<T> by default
- Simple types in Business Logic responses will be typed as
IEnumerable<T>
- Property types in models will be represented as
IEnumerable<T>
- In all these cases, the actual implementing type will be
List<T>, so parameter and model property types are conditionally castable to a dynamic-length collection in the implementation.
- The only exception will be collections with
@uniqueItems which we should represent as ISet<T>
This is a split issue of: #5945 but this is only tracking the work of how arrays are resolved
This is the final suggestion:
ICollection<T>by defaultIEnumerable<T>IEnumerable<T>List<T>, so parameter and model property types are conditionally castable to a dynamic-length collection in the implementation.@uniqueItemswhich we should represent asISet<T>This is a split issue of: #5945 but this is only tracking the work of how arrays are resolved