You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/GraphQLParser.ApiTests/GraphQLParser.approved.txt
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,10 @@ namespace GraphQLParser.AST
130
130
public GraphQLParser.AST.GraphQLName Name { get; set; }
131
131
public GraphQLParser.AST.GraphQLValue Value { get; set; }
132
132
}
133
+
public class GraphQLArgumentDefinition : GraphQLParser.AST.GraphQLInputValueDefinition
134
+
{
135
+
public GraphQLArgumentDefinition(GraphQLParser.AST.GraphQLName name, GraphQLParser.AST.GraphQLType type) { }
136
+
}
133
137
public class GraphQLArguments : GraphQLParser.AST.ASTListNode<GraphQLParser.AST.GraphQLArgument>
134
138
{
135
139
public GraphQLArguments(System.Collections.Generic.List<GraphQLParser.AST.GraphQLArgument> items) { }
@@ -304,6 +308,10 @@ namespace GraphQLParser.AST
304
308
public GraphQLParser.AST.GraphQLSelectionSet SelectionSet { get; set; }
305
309
public GraphQLParser.AST.GraphQLTypeCondition? TypeCondition { get; set; }
306
310
}
311
+
public class GraphQLInputFieldDefinition : GraphQLParser.AST.GraphQLInputValueDefinition
312
+
{
313
+
public GraphQLInputFieldDefinition(GraphQLParser.AST.GraphQLName name, GraphQLParser.AST.GraphQLType type) { }
314
+
}
307
315
public class GraphQLInputFieldsDefinition : GraphQLParser.AST.ASTListNode<GraphQLParser.AST.GraphQLInputValueDefinition>
308
316
{
309
317
public GraphQLInputFieldsDefinition(System.Collections.Generic.List<GraphQLParser.AST.GraphQLInputValueDefinition> items) { }
@@ -325,6 +333,8 @@ namespace GraphQLParser.AST
325
333
}
326
334
public class GraphQLInputValueDefinition : GraphQLParser.AST.GraphQLTypeDefinition, GraphQLParser.AST.IHasDefaultValueNode, GraphQLParser.AST.IHasDirectivesNode
327
335
{
336
+
[System.Obsolete("Please use the GraphQLArgumentDefinition or GraphQLInputFieldDefinition construct" +
337
+
"or.")]
328
338
public GraphQLInputValueDefinition(GraphQLParser.AST.GraphQLName name, GraphQLParser.AST.GraphQLType type) { }
329
339
public GraphQLParser.AST.GraphQLValue? DefaultValue { get; set; }
330
340
public GraphQLParser.AST.GraphQLDirectives? Directives { get; set; }
@@ -633,6 +643,7 @@ namespace GraphQLParser
633
643
where TNode : class, GraphQLParser.AST.INamedNode { }
634
644
public static GraphQLParser.AST.GraphQLFragmentDefinition? FindFragmentDefinition(this GraphQLParser.AST.GraphQLDocument document, GraphQLParser.ROM name) { }
635
645
public static int FragmentsCount(this GraphQLParser.AST.GraphQLDocument document) { }
646
+
public static GraphQLParser.AST.DirectiveLocation GetDirectiveLocation(this GraphQLParser.AST.ASTNode node) { }
636
647
public static int MaxNestedDepth(this GraphQLParser.AST.ASTNode node) { }
637
648
public static GraphQLParser.AST.GraphQLOperationDefinition? OperationWithName(this GraphQLParser.AST.GraphQLDocument document, GraphQLParser.ROM operationName) { }
638
649
public static int OperationsCount(this GraphQLParser.AST.GraphQLDocument document) { }
0 commit comments