Skip to content

Commit

Permalink
fix(mps-sync-plugin-lib): fix misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benedekh committed Apr 22, 2024
1 parent b14b0a8 commit 81623af
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,11 @@ class NodeSynchronizer(
val mpsValue = mpsNode.getProperty(it)
cloudNode.setPropertyValue(modelixProperty, mpsValue)
}
// Save MPS Node ID explicitly. If you change this property here, please also change above where we check if the node already exists in its parent.
/*
* Save MPS Node ID explicitly.
* If you change this property here, please also change in method 'throwExceptionIfChildExists', where we use
* node.nodeId.toString() to check if the node already exists.
*/
cloudNode.setPropertyValue(PropertyFromName(NodeData.ID_PROPERTY_KEY), mpsNode.nodeId.toString())

// synchronize references
Expand Down

0 comments on commit 81623af

Please sign in to comment.