Skip to content

Commit 8bace09

Browse files
committed
fix: build
1 parent bd16b31 commit 8bace09

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

router-core/src/commonMain/kotlin/com.y9vad9.rsocket.router/builders/impl/DeclarableRoutingBuilderScopeImpl.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
package com.y9vad9.rsocket.router.builders.impl
22

33
import com.y9vad9.rsocket.router.Route
4+
import com.y9vad9.rsocket.router.annotations.ExperimentalInterceptorsApi
45
import com.y9vad9.rsocket.router.builders.DeclarableRoutingBuilder
56
import com.y9vad9.rsocket.router.interceptors.Preprocessor
67
import com.y9vad9.rsocket.router.interceptors.RouteInterceptor
78
import com.y9vad9.rsocket.router.interceptors.builder.RouteInterceptorsBuilder
89
import io.rsocket.kotlin.payload.Payload
910
import kotlinx.coroutines.flow.Flow
1011

12+
@OptIn(ExperimentalInterceptorsApi::class)
1113
internal class DeclarableRoutingBuilderScopeImpl(
1214
private val path: String,
1315
private val separator: Char,

router-core/src/commonMain/kotlin/com.y9vad9.rsocket.router/builders/impl/RoutingBuilderScopeImpl.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
package com.y9vad9.rsocket.router.builders.impl
22

33
import com.y9vad9.rsocket.router.Route
4+
import com.y9vad9.rsocket.router.annotations.ExperimentalInterceptorsApi
45
import com.y9vad9.rsocket.router.annotations.ExperimentalRouterApi
56
import com.y9vad9.rsocket.router.builders.DeclarableRoutingBuilder
67
import com.y9vad9.rsocket.router.builders.RoutingBuilder
78
import com.y9vad9.rsocket.router.interceptors.Preprocessor
89
import com.y9vad9.rsocket.router.interceptors.RouteInterceptor
910

10-
internal class RoutingBuilderScopeImpl(
11+
@OptIn(ExperimentalInterceptorsApi::class)
12+
internal class RoutingBuilderScopeImpl constructor(
1113
private val separator: Char,
1214
private val sharedInterceptors: List<RouteInterceptor>,
1315
private val preprocessors: List<Preprocessor>,

router-test/src/jvmTest/kotlin/com/y9vad9/rsocket/router/test/RouterTest.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
@file:OptIn(ExperimentalInterceptorsApi::class)
2+
13
package com.y9vad9.rsocket.router.test
24

5+
import com.y9vad9.rsocket.router.annotations.ExperimentalInterceptorsApi
36
import com.y9vad9.rsocket.router.annotations.ExperimentalRouterApi
47
import com.y9vad9.rsocket.router.interceptors.RouteInterceptor
58
import com.y9vad9.rsocket.router.router

0 commit comments

Comments
 (0)