-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
Description
If you define a model with name already defined in another plugin you get an exception from
rd/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/Serializers.kt
Lines 54 to 57 in 1a04cda
| val id = serializer.id | |
| val existing = marshallers[id] | |
| if (existing != null) { | |
| require(existing.fqn == serializer.fqn) { "Can't register ${serializer.fqn} with id: $id, already registered: ${serializer.fqn}" } |
because
serializer.id has default value based on model namerd/rd-kt/rd-framework/src/main/kotlin/com/jetbrains/rd/framework/Interfaces.kt
Lines 96 to 97 in 1a04cda
| val id : RdId | |
| get() = RdId(_type.simpleName.getPlatformIndependentHash()) |
I had to rename my model
Reactions are currently unavailable