Azure / opendigitaltwins-dtdl

Digital Twins Definition Language
Creative Commons Attribution 4.0 International
481 stars 164 forks source link

Add Mqtt extension #180

Closed jrdouceur closed 9 months ago

jrdouceur commented 9 months ago

Eg, If I extend one interface that already has the Mqtt extension, and is using a different payload format or topic, which one will be used?

"extends" does not apply to anything other than "contents". So, any supplemental properties on the Interface being extended are ignored. This means, for example, you can write a base Interface that has no payload format, and you can then derive two other Interfaces from it, each of which can have a different payload format. Same for topics.