Skip to content
Closed
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: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Scala Steward: Reformat with scalafmt 3.6.1
122bd2ff9365edaae9ecf907e8b25ae07e6a761e

# Scala Steward: Reformat with scalafmt 3.9.8
d2ea43c13cbf7f630187f1aa5b89a6d50b547be5
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rewrite.rules = [RedundantParens]
runner.dialect = scala213
spaces.inImportCurlyBraces = false
trailingCommas = "always"
version = "3.6.1"
version = "3.9.8"

align.tokens."+" = [
{code = "->>" }
Expand Down
12 changes: 6 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import Dependencies._

// Flags
Global / semanticdbEnabled := true
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / scalacOptions := Seq(
Global / semanticdbEnabled := true
Global / onChangedBuildSource := ReloadOnSourceChanges
Global / scalacOptions := Seq(
"-Ywarn-unused",
"-Werror",
"-feature",
"-language:reflectiveCalls",
"-deprecation",
)
Global / scalaVersion := "2.13.8"
ThisBuild / versionScheme := Some("early-semver")
Global / scalaVersion := "2.13.8"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / testFrameworks += new TestFramework("zio.test.sbt.ZTestFramework")
ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"))
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
Expand Down Expand Up @@ -77,6 +77,6 @@ lazy val zioComposeGraphQL = project.in(file("./compose-graphql"))
ZIOTest,
ZIOTestSbt,
PPrint,
Caliban
Caliban,
),
)
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ final class StepGenerator(graph: Graph, i: Interpreter) {
// case MetaSchema.FailNode(message, path, optional) => ???
// case MetaSchema.Either(path, left, right, optional) => ???
// case MetaSchema.Sum(id, path, cases, optional) => ???
case schema => throw new MatchError(schema)
case schema => throw new MatchError(schema)
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ final class TypeGenerator(graph: Graph) {
}.foreach { case (id, cons) =>
pending.get(id) match {
case None => pending += (id -> cons)
case Some(value) => pending += id -> (value ++ cons)
case Some(value) => pending += id -> (value ++ cons)
}
}

Expand Down
Loading