Pureconfig instances for Doobie's Transactor settings
Add the following line to your build.sbt file:
libraryDependencies += "com.permutive" %% "doobie-pureconfig" % "0.2.1"The library is published for Scala versions: 2.13 and 3.
This library provides ConfigReader instances for Doobie's hikari.Config as well as a new case class DoobieConfig that wraps hikari.Config and adds a few more fields like data-source properties.
To use it just add the following import to your project:
import doobie.pureconfig._And use either hikari.Config or DoobieConfig in your configuration classes.
| alejandrohdezma |