From cdb63276916e7f37c5a670b689b5a9737e91c8c6 Mon Sep 17 00:00:00 2001 From: Mitchell Herrijgers Date: Tue, 15 Sep 2026 11:56:22 +0100 Subject: [PATCH] Adopt the nullable StateManager.repository return type Axon Framework 5.3.1 annotated StateManager#repository as @Nullable, so the override no longer compiled: Kotlin sees Repository? where we declared Repository. The nightly compatibility canary has been red on this since the framework moved to it. Bumps the baseline from 5.3.0 to 5.3.2 so the override matches, which also keeps compiling against the current 5.4.0-SNAPSHOT. --- .../platform/framework/modelling/AxoniqPlatformStateManager.kt | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-client/src/main/java/io/axoniq/platform/framework/modelling/AxoniqPlatformStateManager.kt b/framework-client/src/main/java/io/axoniq/platform/framework/modelling/AxoniqPlatformStateManager.kt index 1041add..8fcb431 100644 --- a/framework-client/src/main/java/io/axoniq/platform/framework/modelling/AxoniqPlatformStateManager.kt +++ b/framework-client/src/main/java/io/axoniq/platform/framework/modelling/AxoniqPlatformStateManager.kt @@ -49,7 +49,7 @@ class AxoniqPlatformStateManager( return delegate.registeredIdsFor(entityType) } - override fun repository(entityType: Class, idType: Class): Repository { + override fun repository(entityType: Class, idType: Class): Repository? { return delegate.repository(entityType, idType) } diff --git a/pom.xml b/pom.xml index 37d76cc..9314fe2 100644 --- a/pom.xml +++ b/pom.xml @@ -57,7 +57,7 @@ 2.2.20 2.1.0 - 5.3.0 + 5.3.2 3.1.0 2.21 3.5.7