Skip to content

Commit

Permalink
Fixed Strawberry Shake Any Type (#5655)
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalSenn authored Jan 2, 2023
1 parent c9fe19f commit 071f259
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@ public static ISchema Load(
document.Definitions.OfType<ObjectTypeExtensionNode>(),
typeEntityPatterns);
}
else if (scalar.Name.Value == ScalarNames.Any)
{
builder.AddType(new AnyType());
}
}
else
{
Expand All @@ -76,6 +72,10 @@ public static ISchema Load(
scalar.Name.Value,
scalar.Description?.Value));
}
else if (scalar.Name.Value == ScalarNames.Any)
{
builder.AddType(new AnyType());
}
}

builder.AddDocument(document);
Expand Down

0 comments on commit 071f259

Please sign in to comment.