diff --git a/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/BuiltIns.cs b/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/BuiltIns.cs index cd5268f3a97..68aa2913219 100644 --- a/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/BuiltIns.cs +++ b/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/BuiltIns.cs @@ -140,7 +140,6 @@ public static bool IsBuiltInDirective(string name) Skip.Name => true, Deprecated.Name => true, SpecifiedBy.Name => true, - // SemanticNonNull.Name => true, _ => false }; } diff --git a/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/SemanticNonNullDirectiveDefinition.cs b/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/SemanticNonNullDirectiveDefinition.cs index fd26b52aa23..7b7abea56e4 100644 --- a/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/SemanticNonNullDirectiveDefinition.cs +++ b/src/HotChocolate/Skimmed/src/Skimmed/BuiltIns/SemanticNonNullDirectiveDefinition.cs @@ -8,8 +8,6 @@ public sealed class SemanticNonNullDirectiveDefinition : DirectiveDefinition internal SemanticNonNullDirectiveDefinition(ScalarTypeDefinition intType) : base(BuiltIns.SemanticNonNull.Name) { - IsSpecDirective = true; - var levelsArgument = new InputFieldDefinition(BuiltIns.SemanticNonNull.Levels, new ListTypeDefinition(intType)); levelsArgument.DefaultValue = new ListValueNode(new IntValueNode(0)); Arguments.Add(levelsArgument);