Skip to content

Commit

Permalink
Fixed tag directive nullability. (#6571)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib authored Oct 3, 2023
1 parent ffd03ea commit cdfd761
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/HotChocolate/Core/src/Types/Types/Directives/Tag.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#nullable enable

using System;
using HotChocolate.Properties;
using HotChocolate.Utilities;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
directive @tag(name: String!) repeatable on SCHEMA | SCALAR | OBJECT | FIELD_DEFINITION | ARGUMENT_DEFINITION | INTERFACE | UNION | ENUM | ENUM_VALUE | INPUT_OBJECT | INPUT_FIELD_DEFINITION

0 comments on commit cdfd761

Please sign in to comment.