Skip to main content

Domain Model Validation In Kotlin: Part 2

ยท One min read
Domain Model Validation In Kotlin: Part 2

In the second article in this series, Tiberiu Tofan writes how Validated type can be used to validate multiple properties, accumulate the errors, apply individual element validations to lists of elements, and create rules that depend on numerous properties.