diff --git a/src/HotChocolate/Core/src/Types/Types/Directives/Tag.cs b/src/HotChocolate/Core/src/Types/Types/Directives/Tag.cs index 474aa3a5c18..5f30ab8bfa2 100644 --- a/src/HotChocolate/Core/src/Types/Types/Directives/Tag.cs +++ b/src/HotChocolate/Core/src/Types/Types/Directives/Tag.cs @@ -1,3 +1,5 @@ +#nullable enable + using System; using HotChocolate.Properties; using HotChocolate.Utilities; diff --git a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/TagDirectiveTests.EnsureAllLocationsAreApplied.graphql b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/TagDirectiveTests.EnsureAllLocationsAreApplied.graphql index da3d3bc79d7..5f2f4ff9cd5 100644 --- a/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/TagDirectiveTests.EnsureAllLocationsAreApplied.graphql +++ b/src/HotChocolate/Core/test/Types.Tests/Types/Directives/__snapshots__/TagDirectiveTests.EnsureAllLocationsAreApplied.graphql @@ -26,4 +26,4 @@ enum FooEnum @tag(name: "OnEnum") { directive @foo(arg: String @tag(name: "OnDirectiveArgument")) on QUERY -directive @tag(name: String) repeatable on SCHEMA | SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION \ No newline at end of file +directive @tag(name: String!) repeatable on SCHEMA | SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION \ No newline at end of file