Azure / opendigitaltwins-dtdl

Digital Twins Definition Language
Creative Commons Attribution 4.0 International
470 stars 160 forks source link

A capability model can only implement one instance of each interface. #52

Closed reginbald closed 4 years ago

reginbald commented 4 years ago

What is the rationale for this limitation? Would it not make sense to allow for reusability of interfaces within a Device Capability Model and across many? E.g. "robot A" that has two identical arms would use the same interface for both and "robot B" that has one arm identical to "robot A" would use the same interface.

reginbald commented 4 years ago

I guess this branch answers my question https://github.com/Azure/IoTPlugandPlay/tree/briancr-ms/dtdl-v2/DTDL @briancr-ms will this limitation be dropped in the next version?

briancr-ms commented 4 years ago

Yes we expect to drop this limitation in an upcoming release of the modeling language.