Skip to content

Commit daa24c9

Browse files
committed
refactor(model-api): renamed idPropertyKey for consistency
1 parent dd01451 commit daa24c9

File tree

1 file changed

+4
-1
lines changed
  • model-api/src/commonMain/kotlin/org/modelix/model/data

1 file changed

+4
-1
lines changed

model-api/src/commonMain/kotlin/org/modelix/model/data/ModelData.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,10 @@ data class NodeData(
8686
val references: Map<String, String> = emptyMap(),
8787
) {
8888
companion object {
89-
const val idPropertyKey = "#mpsNodeId#"
89+
const val ID_PROPERTY_KEY = "#mpsNodeId#"
90+
91+
@Deprecated("Use ID_PROPERTY_KEY", replaceWith = ReplaceWith("ID_PROPERTY_KEY"))
92+
const val idPropertyKey = ID_PROPERTY_KEY
9093
}
9194
}
9295

0 commit comments

Comments
 (0)