Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use skunk 1.0.0-M6 #101

Merged
merged 1 commit into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/db/src/main/scala/DbResource.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import cats.*
import cats.effect.*
import cats.syntax.all.*
import fs2.io.net.Network
import natchez.Trace.Implicits.noop
import org.typelevel.log4cats.Logger
import org.typelevel.log4cats.syntax.*
import skunk.*
Expand All @@ -16,6 +15,8 @@ class DbResource private (val postgres: Resource[IO, Session[IO]])

object DbResource:

given org.typelevel.otel4s.trace.Tracer[IO] = org.typelevel.otel4s.trace.Tracer.noop[IO]

def instance(postgresConf: PostgresConfig)(using Logger[IO]): Resource[IO, DbResource] =

def checkPostgresConnection(postgres: Resource[IO, Session[IO]]): IO[Unit] =
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ object Dependencies {
val http4sClient = http4s("client")
val http4sEmberClient = http4s("ember-client")

val skunk = "org.tpolecat" %% "skunk-core" % "0.6.4"
val skunk = "org.tpolecat" %% "skunk-core" % "1.0.0-M6"
val flyway4s = "com.github.geirolz" %% "fly4s" % "1.0.3"
val flyway = "org.flywaydb" % "flyway-core" % V.flyway
val flywayPostgres = "org.flywaydb" % "flyway-database-postgresql" % V.flyway
Expand Down