Azure-Samples / digital-twins-explorer

A code sample for visualizing Azure Digital Twins graphs as a web application to create, edit, view, and diagnose digital twins, models, and relationships.
MIT License
184 stars 118 forks source link

Round tripping of exported relationships do not restore relationship properties. #290

Open johngallardo opened 1 year ago

johngallardo commented 1 year ago

Relationships are exported like this:

      {
        "$relationshipId": "c8d57ca2-6cba-4c65-95da-dd17c97a102d",
        "$sourceId": "mysourcetwin",
        "$targetId": "mytargettwin",
        "$relationshipName": "thisrelationshipisarelationship",
        "myRelationshipStatus": "itscomplicated",
        "$etag": "W/\"c431b939-f910-44e7-a682-f0def79d8b62\""
      }

However, it looks like the importer is looking for relationship properties to be under a $properties node?

johngallardo commented 1 year ago

@darsney fyi.