Skip to content

Commit 071f259

Browse files
authored
Fixed Strawberry Shake Any Type (#5655)
1 parent c9fe19f commit 071f259

File tree

1 file changed

+4
-4
lines changed
  • src/StrawberryShake/CodeGeneration/src/CodeGeneration/Utilities

1 file changed

+4
-4
lines changed

src/StrawberryShake/CodeGeneration/src/CodeGeneration/Utilities/SchemaHelper.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@ public static ISchema Load(
6161
document.Definitions.OfType<ObjectTypeExtensionNode>(),
6262
typeEntityPatterns);
6363
}
64-
else if (scalar.Name.Value == ScalarNames.Any)
65-
{
66-
builder.AddType(new AnyType());
67-
}
6864
}
6965
else
7066
{
@@ -76,6 +72,10 @@ public static ISchema Load(
7672
scalar.Name.Value,
7773
scalar.Description?.Value));
7874
}
75+
else if (scalar.Name.Value == ScalarNames.Any)
76+
{
77+
builder.AddType(new AnyType());
78+
}
7979
}
8080

8181
builder.AddDocument(document);

0 commit comments

Comments
 (0)