Skip to content

Commit

Permalink
scala -Xmigration + -Xsourc3
Browse files Browse the repository at this point in the history
  • Loading branch information
ValdemarGr committed Nov 9, 2023
1 parent 318283a commit 9e4274f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ lazy val sharedSettings = Seq(
Seq(
"-Wunused:-nowarn",
"-Wconf:cat=unused-nowarn:s",
"-Ywarn-unused:-nowarn"
"-Ywarn-unused:-nowarn",
"-Xmigration",
"-Xsource:3",
)
} else Seq.empty // Seq("-explain")
},
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/main/scala/gql/ast.scala
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import cats.data._
import gql.resolver._
import java.util.UUID
import gql.parser.{Value => V, Const}
import scala.collection.immutable._

/** A tree-like structure representing a GraphQL schema, akin to most schema builders.
*/
Expand Down
1 change: 1 addition & 0 deletions modules/core/src/main/scala/gql/dsl/FieldDsl.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import gql._
import cats.data._
import cats._
import gql.dsl.aliases._
import scala.collection.immutable._

trait FieldDsl[F[_]] {
def fields[A](hd: (String, Field[F, A, ?]), tl: (String, Field[F, A, ?])*): Fields[F, A] =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import gql.parser.AnyValue
import gql.Arg
import cats.Eval
import gql.ast
import scala.collection.immutable._

sealed trait PreparedField[+F[_], A] extends Product with Serializable

Expand Down

0 comments on commit 9e4274f

Please sign in to comment.