Using ModelMapper in kotlin spring boot
In few of my projects in spring boot I have used ModelMapper (https://www.baeldung.com/java-modelmapper
). However now I am writing an app using Kotlin, and I couldn't find any solution that would be easier to use for converting objects from one class to another. Let's say that we have two classes like these:
class Test(val name: String, val size: Int)
class AnotherTest(val name: String, val size: Int, val id:...