Skip to content

Commit 817dab5

Browse files
authored
Merge pull request #1187 from scala-steward/update/scalafmt-core-3.9.4
Update scalafmt-core to 3.9.4
2 parents b7598f4 + 7960448 commit 817dab5

File tree

5 files changed

+18
-15
lines changed

5 files changed

+18
-15
lines changed

Diff for: .git-blame-ignore-revs

+3
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,6 @@ d9458f6a8812d77c07b3ef275c3dfaff3390d4a0
1515

1616
# Scala Steward: Reformat with scalafmt 3.9.3
1717
07a8dced3008b511567637a1a11c6833e50c0f82
18+
19+
# Scala Steward: Reformat with scalafmt 3.9.4
20+
a80bf851b71db2558e8c59b1b46ee1ab866f2020

Diff for: .scalafmt.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = 3.9.3
1+
version = 3.9.4
22

33
runner.dialect = scala213
44

Diff for: modules/core/src/main/scala/sangria/execution/FutureResolver.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private[execution] class FutureResolver[Ctx](
143143
.asInstanceOf[scheme.Result[Ctx, marshaller.Node]]
144144

145145
case es: ExecutionScheme.StreamBasedExecutionScheme[
146-
({ type X [_] })#X @unchecked] @unchecked =>
146+
({ type X[_] })#X @unchecked] @unchecked =>
147147
val (_, res) = resolveSubs(
148148
ExecutionPath.empty,
149149
tpe,

Diff for: modules/core/src/main/scala/sangria/schema/AstSchemaMaterializer.scala

+10-10
Original file line numberDiff line numberDiff line change
@@ -434,18 +434,18 @@ class AstSchemaMaterializer[Ctx] private (
434434
var iteration = 0
435435

436436
while ({
437-
prevCount = typeDefCache.size
438-
iteration += 1
437+
prevCount = typeDefCache.size
438+
iteration += 1
439439

440-
typeDefCache.forEachValue {
441-
case o: ObjectLikeType[_, _] => o.fields
442-
case o: InputObjectType[_] => o.fields
443-
case _ => // do nothing
444-
}
440+
typeDefCache.forEachValue {
441+
case o: ObjectLikeType[_, _] => o.fields
442+
case o: InputObjectType[_] => o.fields
443+
case _ => // do nothing
444+
}
445445

446-
newCount = typeDefCache.size
447-
prevCount != newCount && iteration < 20
448-
}) ()
446+
newCount = typeDefCache.size
447+
prevCount != newCount && iteration < 20
448+
}) ()
449449
}
450450

451451
def getTypeFromExistingType(origin: MatOrigin, tpe: OutputType[_]): OutputType[Any] = tpe match {

Diff for: modules/core/src/main/scala/sangria/validation/rules/overlappingfields/SortedArraySet.scala

+3-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ object SortedArraySet {
8181
members.set(into, first_from)
8282
into += 1
8383
while ({
84-
from += 1
85-
from < members.size() && members.get(from) == first_from
86-
}) ()
84+
from += 1
85+
from < members.size() && members.get(from) == first_from
86+
}) ()
8787
}
8888
members.subList(into, members.size()).clear()
8989
}

0 commit comments

Comments
 (0)