File tree 2 files changed +2
-2
lines changed
src/HotChocolate/Utilities/src/Utilities.Introspection
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ private static DirectiveDefinitionNode CreateDirectiveDefinition(
261
261
null ,
262
262
new NameNode ( directive . Name ) ,
263
263
CreateDescription ( directive . Description ) ,
264
- directive . IsRepeatable ,
264
+ directive . IsRepeatable ?? false ,
265
265
CreateInputValues ( directive . Args ) ,
266
266
locations
267
267
) ;
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ internal class Directive
11
11
public string Description { get ; set ; }
12
12
public ICollection < InputField > Args { get ; set ; }
13
13
public ICollection < string > Locations { get ; set ; }
14
- public bool IsRepeatable { get ; set ; }
14
+ public bool ? IsRepeatable { get ; set ; }
15
15
public bool OnOperation { get ; set ; }
16
16
public bool OnFragment { get ; set ; }
17
17
public bool OnField { get ; set ; }
You can’t perform that action at this time.
0 commit comments