Updates
- Fix issue in reading boolean values from HOCON
- Simplify defining custom DeriveConfig instance, by adding
mapAttempt
intoDeriveConfig
in both scala2 and scala3
Example:
implicit val zonedDateTimeParse: DeriveConfig[ZonedDateTime] = DeriveConfig[String].mapAttempt(ZonedDateTime.parse)
// instead of
implicit val zonedDateTimeParse: DeriveConfig[ZonedDateTime] = DeriveConfig(deriveConfig[String].mapAttempt(ZonedDateTime.parse))
- Update documentations