Closed rido-min closed 3 years ago
Detect externals like this to decide if we want to block those or let it through.
{ "@id": "dtmi:example:Interface1;1", "@type": "Interface", "extends": [ "dtmi:example:Interface2;1", { "@id": "dtmi:example:Interface3;1", "@type": "Interface", "contents": [ { "@type": "Component", "name": "comp1", "schema": [ "dtmi:example:Interface4;1" ] }, { "@type": "Component", "name": "comp2", "schema": { "@id": "dtmi:example:Interface5;1", "@type": "Interface", "extends": "dtmi:example:Interface6;1" } } ] } ], "@context": "dtmi:dtdl:context;2" }
This is tested and covered in the preview.1 release.
preview.1
Detect externals like this to decide if we want to block those or let it through.