From 27751d8796e19e5e70f07b2af770700ddb043803 Mon Sep 17 00:00:00 2001 From: nk-coding Date: Thu, 10 Oct 2024 17:51:28 +0200 Subject: [PATCH] fixes --- .../kotlin/gropius/model/architecture/InterfaceDefinition.kt | 1 + .../kotlin/gropius/service/architecture/ComponentGraphUpdater.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/core/src/main/kotlin/gropius/model/architecture/InterfaceDefinition.kt b/core/src/main/kotlin/gropius/model/architecture/InterfaceDefinition.kt index eb13105b..0ba285a6 100644 --- a/core/src/main/kotlin/gropius/model/architecture/InterfaceDefinition.kt +++ b/core/src/main/kotlin/gropius/model/architecture/InterfaceDefinition.kt @@ -47,6 +47,7 @@ class InterfaceDefinition( @NodeRelationship(INTERFACE_SPECIFICATION_VERSION, Direction.OUTGOING) @GraphQLDescription("The InterfaceSpecificationVersion present on the ComponentVersion") @FilterProperty + @OrderProperty val interfaceSpecificationVersion by NodeProperty() @NodeRelationship(COMPONENT_VERSION, Direction.OUTGOING) diff --git a/core/src/main/kotlin/gropius/service/architecture/ComponentGraphUpdater.kt b/core/src/main/kotlin/gropius/service/architecture/ComponentGraphUpdater.kt index 703a1e3e..1690f612 100644 --- a/core/src/main/kotlin/gropius/service/architecture/ComponentGraphUpdater.kt +++ b/core/src/main/kotlin/gropius/service/architecture/ComponentGraphUpdater.kt @@ -207,6 +207,7 @@ class ComponentGraphUpdater(updateContext: NodeBatchUpdater = NodeBatchUpdateCon definition.invisibleSelfDefined = false } internalUpdatedNodes += definition + handleUpdatedInterfaceDefinition(definition) validateRelatedComponentVersions(componentVersion, setOf(interfaceSpecificationVersion)) } }