Writing simple validator with Scala 3
In my previous article we discussed some approaches to validating using Cats and Scala 3 mirror types. In this article I shed light on how to write a simple validation library using Scala 3 metaprogramming.
Let's say we have a case class Planet :
cas...
v-bondarenko.hashnode.dev5 min read