-
Couldn't load subscription status.
- Fork 19
Open
Description
Motivation
In strongly typed models, this is supported:
IEnumerable<MyType> CollectionOfMyTypes { get; set; }
and this is not:
IEnumerable<IMyType> CollectionOfMyInterfaces { get; set; }
This applies both to externally defined types and types defined within the SDK (Asset, TaxonomyTerm).
We should give developers the freedom to unwind from specific classes and work with KC data through interfaces. For example, defining shadow properties wouldn't be necessary anymore.
Design guidelines
The generator should be updated to generate models with interfaces as generic parameters of collections. See the issue above.