Join Slack
Communities
Powered by
Could you help me writing this line using Kotlin? ...
# spring
l
Lucas
01/15/2019, 3:34 AM
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
Lucas
01/15/2019, 3:34 AM
Screenshot from 2019-01-15 01-11-55.png
c
Czar
01/15/2019, 6:43 AM
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
Lucas
01/15/2019, 6:54 AM
Thank you,
@Czar
.
👌 1
6
Views
Open in Slack
Previous
Next