This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update/scala-library-2.12.19
- Loading branch information
Showing
32 changed files
with
221 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
scala: ['2.12.19', '2.13.10'] | ||
scala: ['2.12.19', '2.13.13'] | ||
steps: | ||
- name: Checkout current branch | ||
uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
version = "3.7.17" | ||
version = "3.8.1" | ||
maxColumn = 120 | ||
align.preset = most | ||
continuationIndent.defnSite = 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package zio.sql.expr | ||
|
||
import zio.sql.typetag.TypeTag | ||
import zio.sql.Features | ||
|
||
import scala.annotation.nowarn | ||
|
||
sealed trait Set[F, -A] { | ||
type Value | ||
|
||
def lhs: Expr[F, A, Value] | ||
def rhs: Expr[_, A, Value] | ||
|
||
def typeTag: TypeTag[Value] | ||
|
||
} | ||
|
||
object Set { | ||
type Aux[F, -A, Value0] = Set[F, A] { type Value = Value0 } | ||
|
||
@nowarn | ||
def apply[F: Features.IsSource, A, Value0: TypeTag]( | ||
lhs0: Expr[F, A, Value0], | ||
rhs0: Expr[_, A, Value0] | ||
): Set.Aux[F, A, Value0] = | ||
new Set[F, A] { | ||
type Value = Value0 | ||
|
||
def lhs = lhs0 | ||
def rhs = rhs0 | ||
|
||
def typeTag = implicitly[TypeTag[Value]] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
package zio.sql.oracle | ||
|
||
import zio.schema.DeriveSchema | ||
import zio.schema.{ DeriveSchema, Schema } | ||
import zio.sql.table._ | ||
|
||
trait DualSchema { | ||
object Dual { | ||
case class Dual(dummy: String) | ||
|
||
implicit val dummySchema = DeriveSchema.gen[Dual] | ||
val dual = Table.defineTable[Dual] | ||
val dummy = dual.columns | ||
implicit val dummySchema: Schema.CaseClass1[String, Dual] = DeriveSchema.gen[Dual] | ||
val dual = Table.defineTable[Dual] | ||
val dummy = dual.columns | ||
} | ||
} |
Oops, something went wrong.