Skip to content

Commit

Permalink
Merge pull request #181 from sangria-graphql/add_support_for_tracing
Browse files Browse the repository at this point in the history
add minimal support for tracing
  • Loading branch information
yanns authored Sep 27, 2022
2 parents 4b4981d + 0e4eef8 commit 31afff2
Show file tree
Hide file tree
Showing 12 changed files with 811 additions and 27 deletions.
13 changes: 10 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ lazy val core = libraryProject("core")
.settings(
name := "sangria-federated",
description := "Sangria federated",
libraryDependencies += Dependencies.sangria,
libraryDependencies ++= Seq(
Dependencies.sangria,
Dependencies.scalapbRuntime
),
Compile / PB.targets := Seq(
scalapb.gen(grpc = false) -> (Compile / sourceManaged).value / "scalapb"
),
libraryDependencies ++= Seq(
Dependencies.scalaTest,
Dependencies.circeGeneric,
Expand All @@ -68,11 +74,11 @@ lazy val core = libraryProject("core")
)

lazy val exampleReview = exampleProject("example-review")
.dependsOn(core, exampleCommon)
.dependsOn(exampleCommon)
.settings(libraryDependencies ++= serviceDependencies)

lazy val exampleState = exampleProject("example-state")
.dependsOn(core, exampleCommon)
.dependsOn(exampleCommon)
.settings(libraryDependencies ++= serviceDependencies)

lazy val serviceDependencies = Seq(
Expand All @@ -81,6 +87,7 @@ lazy val serviceDependencies = Seq(
)

lazy val exampleCommon = exampleProject("example-common")
.dependsOn(core)
.settings(
libraryDependencies ++= Seq(
Dependencies.catsEffect,
Expand Down
Loading

0 comments on commit 31afff2

Please sign in to comment.