Skip to content

Commit

Permalink
Removed Debug Code (ChilliCream#4562)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib authored Dec 15, 2021
1 parent 014b2e2 commit 20ed41f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/HotChocolate/Core/src/Types/SchemaBuilder.Setup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,10 +366,7 @@ private static Schema CompleteSchema(
.Build());
}

Schema schema = typeRegistry.Types
.Select(t => t.Type).OfType<Schema>().First();
Console.WriteLine("Types: " + typeRegistry.Types.Count);

Schema schema = typeRegistry.Types.Select(t => t.Type).OfType<Schema>().First();
schema.CompleteSchema(definition);
lazySchema.Schema = schema;
context.SchemaInterceptor.OnAfterCreate(context, schema);
Expand Down

0 comments on commit 20ed41f

Please sign in to comment.