You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Reference
The text was updated successfully, but these errors were encountered: