Skip to content

Commit

Permalink
Merge pull request #301 from scala-steward/update/sangria-4.1.0
Browse files Browse the repository at this point in the history
Update sangria to 4.1.0
  • Loading branch information
yanns authored May 6, 2024
2 parents ac8f02f + a524b3f commit 3c14104
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class FederationSpec extends AsyncFreeSpec {

directive @key(fields: _FieldSet!) repeatable on OBJECT | INTERFACE
""")
.extend(Document(Vector(_FieldSet.Type.toAst)))

schema should beCompatibleWith(expectedSubGraphSchema)
}
Expand Down Expand Up @@ -134,7 +133,6 @@ class FederationSpec extends AsyncFreeSpec {

directive @key(fields: _FieldSet!) repeatable on OBJECT | INTERFACE
""")
.extend(Document(Vector(_FieldSet.Type.toAst)))

schema should beCompatibleWith(expectedSubGraphSchema)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ class FederationSpec extends AsyncFreeSpec {

directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION
""")
.extend(Document(
Vector(_FieldSet.Type.toAst, Link__Import.Type.toAst, Link__Purpose.Type.toAst)))

withClue(SchemaRenderer.renderSchema(schema)) {
schema should beCompatibleWith(expectedSubGraphSchema)
Expand Down Expand Up @@ -184,8 +182,6 @@ class FederationSpec extends AsyncFreeSpec {

directive @tag(name: String!) repeatable on FIELD_DEFINITION | INTERFACE | OBJECT | UNION | ARGUMENT_DEFINITION | SCALAR | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION
""")
.extend(Document(
Vector(_FieldSet.Type.toAst, Link__Import.Type.toAst, Link__Purpose.Type.toAst)))

schema should beCompatibleWith(expectedSubGraphSchema)
}
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object Dependencies {
val http4s = "1.0.0-M30"
}

val sangria = "org.sangria-graphql" %% "sangria" % "4.0.2"
val sangria = "org.sangria-graphql" %% "sangria" % "4.1.0"
val sangriaCirce = "org.sangria-graphql" %% "sangria-circe" % "1.3.2"
val logbackClassic = "ch.qos.logback" % "logback-classic" % "1.5.6"

Expand Down

0 comments on commit 3c14104

Please sign in to comment.