Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.14 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.14 KB

Pureconfig instances for Doobie's Transactor settings


Installation

Add the following line to your build.sbt file:

libraryDependencies += "com.permutive" %% "doobie-pureconfig" % "0.1.0"

The library is published for Scala versions: 2.13 and 3.

Usage

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.

Contributors to this project

alejandrohdezma
alejandrohdezma