Hi, seems that I find a problem in Spring kotlin i...
# spring
a
Hi, seems that I find a problem in Spring kotlin interop. The example is https://gitlab.com/AleksandrSl/spring-sandbox/tree/data-rest-security-RC2.
-Xjsr305=strict
compiler argument that is added by spring initializr forces to override methods like
findById
the following way
override fun findById(id: Long): Optional<User>
. But it seems that this override is the wrong one, and it should be
override fun findById(id: Long?): Optional<User>
cause with the last one security annotations works the right way.