Simplify Your Project Configuration with PureConfig
summary
PureConfig maps Typesafe Config directly into Scala case classes (using shapeless LabelledGeneric) to eliminate boilerplate getters and casts, applying default values automatically. It provides two validation modes — a non-blocking mode that returns a list of errors and a blocking mode that throws on startup — and keeps dependencies minimal while offering Play and Akka integration and standardized key naming across projects.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:02PureConfig benefits
- 3:06Classic Scala config problems
- 5:36PureConfig solution
- 8:22PureConfig internals
- 10:08Type-to-class conversion
- 13:01Learning PureConfig
related talks
38mClass up your config
16mScale By The Bay 2018 Unconference: Gabriel Volpe
39mA few tips on modelling things in Scala
41mConfigman - the grand unified theorem of configuration
24mLet the Scala compiler work for you
43mCompiling like a boss!
46mPkl: Safe & Maintainable Config for Apps & Infrastructure
22mType-safe app configuration: a powerful, emerging way to accelerate product development
