Skip to content

Commit 7367726

Browse files
Resolve the ambiguity of the consumerId property
1 parent c6008c5 commit 7367726

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

entity/src/main/kotlin/io/spine/tools/core/jvm/entity/EntityStateRenderer.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ public class EntityStateRenderer :
4747
TypeListRenderer<DiscoveredEntities, Entities>(),
4848
EntityPluginComponent {
4949

50+
/**
51+
* Resolve the ambiguity of the property value in the multiple inheritance
52+
* from [TypeListRenderer] and [EntityPluginComponent].
53+
*/
54+
override val consumerId: String
55+
get() = EntityPlugin.SETTINGS_ID
56+
5057
override fun isEnabled(settings: Entities): Boolean = settings.generateQueries
5158

5259
override fun doRender(type: MessageType, file: SourceFile<Java>) {

0 commit comments

Comments
 (0)