From c2429fe85076b3b48b8b14e91c29f0cd98acdabd Mon Sep 17 00:00:00 2001 From: Valdemar Grange Date: Sun, 22 Oct 2023 01:27:50 +0200 Subject: [PATCH] reordered presedence of types --- modules/core/src/main/scala/gql/SchemaShape.scala | 2 +- project/metals.sbt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/scala/gql/SchemaShape.scala b/modules/core/src/main/scala/gql/SchemaShape.scala index c13de6369..7a7395757 100644 --- a/modules/core/src/main/scala/gql/SchemaShape.scala +++ b/modules/core/src/main/scala/gql/SchemaShape.scala @@ -249,7 +249,7 @@ object SchemaShape { } } - val outs = root.query :: root.mutation.toList ++ root.subscription.toList ++ root.outputTypes + val outs = root.outputTypes ++ List(root.query) ++ root.mutation.toList ++ root.subscription.toList val outsF = outs.parFoldMapA(goOutput) diff --git a/project/metals.sbt b/project/metals.sbt index 6e23425e2..cbb25c6ad 100644 --- a/project/metals.sbt +++ b/project/metals.sbt @@ -2,4 +2,5 @@ // This file enables sbt-bloop to create bloop config files. -addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.8") +addSbtPlugin("ch.epfl.scala" % "sbt-bloop" % "1.5.11") +