Introduce attribute support in Kotlin RouterFunction DSL #28567
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
theme: kotlin
An issue related to Kotlin support
type: enhancement
A general enhancement
Milestone
On current spring framework version (5.3.19), RouterFunction attributes are not supported by RouterFunction Kotlin DSL.
RouterFunction attributes is currently supported by Java Builder :
spring-framework/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctionBuilder.java
Line 335 in 172102d
spring-framework/spring-webflux/src/main/java/org/springframework/web/reactive/function/server/RouterFunctionBuilder.java
Line 350 in 172102d
spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RouterFunctionBuilder.java
Line 328 in 172102d
spring-framework/spring-webmvc/src/main/java/org/springframework/web/servlet/function/RouterFunctionBuilder.java
Line 343 in 172102d
But RouterFunction attributes support is missing from all Kotlin DSL :
spring-framework/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/RouterFunctionDsl.kt
Line 65 in 172102d
spring-framework/spring-webflux/src/main/kotlin/org/springframework/web/reactive/function/server/CoRouterFunctionDsl.kt
Line 66 in 172102d
spring-framework/spring-webmvc/src/main/kotlin/org/springframework/web/servlet/function/RouterFunctionDsl.kt
Line 62 in 172102d
The text was updated successfully, but these errors were encountered: