Building immutable collection dynamically in Kotlin
📰 Dev.to · Cyril Sahula
In this post, I share how to write real domain objects that contain both data and logic — without giving up the power of the Spring Framework. I explore how to combine DDD principles with Spring Data R2DBC, keep your code readable, and avoid brittle tests. Includes a simple trick for keeping Spring context available inside your domain layer.
DeepCamp AI