Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
jatcwang committed Nov 5, 2024
1 parent 438b775 commit 6f227f2
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 4 deletions.
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ lazy val weaverVersion = "0.8.4"
ThisBuild / tlBaseVersion := "1.0"
ThisBuild / tlCiReleaseBranches := Seq("main") // publish snapshots on `main`
ThisBuild / tlCiScalafmtCheck := true
ThisBuild / scalaVersion := scala212Version
//ThisBuild / scalaVersion := scala213Version
ThisBuild / scalaVersion := scala3Version
//ThisBuild / scalaVersion := scala3Version
ThisBuild / crossScalaVersions := Seq(scala212Version, scala213Version, scala3Version)
ThisBuild / developers += tlGitHubDev("tpolecat", "Rob Norris")
ThisBuild / tpolecatDefaultOptionsMode :=
Expand Down
12 changes: 12 additions & 0 deletions modules/core/src/main/scala/doobie/aliases.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,18 @@ trait Modules {
/** @group Module Aliases - Core */
val Meta = doobie.util.meta.Meta

/** @group Type Aliases - Core */
type Get[A] = doobie.util.Get[A]

/** @group Type Aliases - Core */
type Put[A] = doobie.util.Put[A]

/** @group Type Aliases - Core */
type Read[A] = doobie.util.Read[A]

/** @group Type Aliases - Core */
type Write[A] = doobie.util.Write[A]

/** @group Module Aliases - Core */
val Query = doobie.util.query.Query

Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/test/scala/doobie/issue/780.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

package doobie.issue

import doobie.*
import doobie.testutils.VoidExtensions
import doobie.util.Write

import scala.annotation.nowarn

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package doobie.postgres.circe
import cats.effect.IO
import doobie.*
import doobie.implicits.*
import doobie.util.{Get, Put, Read, Write}
import io.circe.{Decoder, Encoder, Json}

class PGJsonSuite extends munit.FunSuite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import cats.syntax.all.*
import doobie.*
import doobie.implicits.*
import doobie.refined.implicits.*
import doobie.util.Write
import eu.timepit.refined.api.{Refined, Validate}
import eu.timepit.refined.numeric.Positive
import eu.timepit.refined.*
Expand Down

0 comments on commit 6f227f2

Please sign in to comment.