Boilerplate Free Validations Using Scala 3
summary
Library Mazboot implements one‑line newtypes with validation using Scala 3 features and ships working integrations (cats‑parse for parsing, ciris for config). It uses opaque types with upper bounds to expose the row type, provides composable validators with and/or and unapply pattern matching, and extracts a small runtime helper so union types behave like a monad for for‑comprehensions (happy-path). It validates at compile time, keeps runtime values as raw String/Int, avoids per‑value Either allocations, and runs on Scala 3 only.
AI-written summary · about
