Azure-Samples / digital-twins-samples

Azure Digital Twins building scenario sample code
MIT License
101 stars 87 forks source link

Fixed propagation of digital twin events through the graph #56

Closed dimiboi closed 3 years ago

dimiboi commented 3 years ago

The ProcessDTRoutedData function expects the twin operation to be replace, however, both updates are made with the add operation. The Propagate Azure Digital Twins events through the graph subsection of the end-to-end tutorial won't work as an outcome. This PR addresses the issue and makes the sample work as expected.

Resolves issue #43.