Could you help me writing this line using Kotlin? ...
# spring
l
Could you help me writing this line using Kotlin? IntelliJ shows type inference error and It's not clear to me what type the `apply`function receive. https://github.com/spring-projects/spring-security/blob/master/samples/boot/hellowebflux-method/src/test/java/sample/HelloWebfluxMethodApplicationTests.java#L47
Screenshot from 2019-01-15 01-11-55.png
c
Unfortunately WebTestClient is unusable in Kotlin for now. Could be fixed in Kotlin 1.4, but same was said about 1.2 and then 1.3. You can track it here: https://github.com/spring-projects/spring-framework/issues/20606 and here: https://youtrack.jetbrains.com/issue/KT-5464
l
Thank you, @Czar.
👌 1