From 7adfb487068a2ae30a63716100e26c69667cc32a Mon Sep 17 00:00:00 2001 From: Alex Sokol / y9san9 Date: Sat, 23 Dec 2023 02:34:45 +0300 Subject: [PATCH] feat: fixed a bug with caching --- core/src/commonMain/kotlin/app/meetacy/di/DI.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/commonMain/kotlin/app/meetacy/di/DI.kt b/core/src/commonMain/kotlin/app/meetacy/di/DI.kt index bd0e085..8249091 100644 --- a/core/src/commonMain/kotlin/app/meetacy/di/DI.kt +++ b/core/src/commonMain/kotlin/app/meetacy/di/DI.kt @@ -68,7 +68,7 @@ public class DI private constructor( trace = DependencyTrace(trace.list + other.trace.list) ) - public val getting: InnerDependency = InnerDependency(di = this) + public val getting: InnerDependency get() = InnerDependency(di = this) private fun subDI(key: DependencyKey<*>): DI { return DI( diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c7d085a..c9af1f8 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,7 @@ composeRuntime = "1.3.3" composeCompiler = "1.5.6" lifecycle = "2.6.1" -mdi = "0.0.28" +mdi = "0.0.29" [libraries]