Class up your config
summary
Case Classy provides composable decoders (arrows typed A => Either[DecodeError,B]) that load TypeSafe Config, Java properties and Map[String,String] into Scala case classes, with accumulating error ADT that reports every failure (example: a list of five sealed-shape variants shows indexed errors for each invalid entry). Decoders compose with simple combinators and handle nested paths; Shapeless auto-derivation generates decoders automatically. Core module has no deps, works on JVM and Scala.js, and offers no built-in live reload (redecode manually).
AI-written summary · about
chapters (10)
- 0:00Intro
- 0:38Project overview
- 0:54Goals
- 1:33Problem
- 3:43Solution
- 8:29Math key concepts
- 11:24Arrows and decoders
- 16:09Decoding
- 20:51Loading nested paths
- 31:28Questions
related talks
16mSimplify Your Project Configuration with PureConfig
24mLet the Scala compiler work for you
44mInitiatory Journey from Exceptions to Composable Error Types
39mA few tips on modelling things in Scala
54mRoll Your Own Shapeless
49mScala best practices I wish someone'd told me about
16mScale By The Bay 2018 Unconference: Gabriel Volpe
48mTDD, Like in Type Driven Development
