File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
model-client/src/commonMain/kotlin/org/modelix/model/client2 Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 13
13
*/
14
14
package org.modelix.model.client2
15
15
16
+ import org.modelix.kotlin.utils.DeprecationInfo
16
17
import org.modelix.model.IVersion
17
18
import org.modelix.model.api.IIdGenerator
18
19
import org.modelix.model.api.INode
@@ -44,6 +45,7 @@ interface IModelClientV2 {
44
45
suspend fun listBranches (repository : RepositoryId ): List <BranchReference >
45
46
46
47
@Deprecated(" repository ID is required for permission checks" )
48
+ @DeprecationInfo(" 3.7.0" , " May be removed with the next major release. Also remove the endpoint from the model-server." )
47
49
suspend fun loadVersion (versionHash : String , baseVersion : IVersion ? ): IVersion
48
50
49
51
suspend fun loadVersion (repositoryId : RepositoryId , versionHash : String , baseVersion : IVersion ? ): IVersion
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ import io.ktor.serialization.kotlinx.json.json
32
32
import kotlinx.coroutines.CoroutineScope
33
33
import kotlinx.coroutines.launch
34
34
import kotlinx.serialization.json.Json
35
+ import org.modelix.kotlin.utils.DeprecationInfo
35
36
import org.modelix.model.IVersion
36
37
import org.modelix.model.api.IIdGenerator
37
38
import org.modelix.model.api.INode
@@ -123,6 +124,7 @@ class ModelClientV2(
123
124
}
124
125
125
126
@Deprecated(" repository ID is required for permission checks" )
127
+ @DeprecationInfo(" 3.7.0" , " May be removed with the next major release. Also remove the endpoint from the model-server." )
126
128
override suspend fun loadVersion (versionHash : String , baseVersion : IVersion ? ): IVersion {
127
129
val response = httpClient.post {
128
130
url {
You can’t perform that action at this time.
0 commit comments