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
// FIXME: Consider removing this check. SelectionNodes cannot have any other kind in the current spec.
175
174
thrownewError(`ERROR: ASTParser.selectionNode: node type not supported`);
176
175
}
177
176
@@ -239,12 +238,12 @@ class ASTParser {
239
238
complexity: fragmentComplexity,
240
239
depth: this.maxDepth-1,// subtract one from the calculated depth of the fragment to correct for the additional depth the fragment ads to the query when used
241
240
};
242
-
}else{
243
-
// TODO: Verify that are no other type definition nodes that need to be handled (see ast.d.ts in 'graphql')
244
-
// Other types include TypeSystemDefinitionNode (Schema, Type, Directvie) and
245
-
// TypeSystemExtensionNode(Schema, Type);
246
-
thrownewError(`ERROR: ASTParser.definitionNode: ${node.kind} type not supported`);
247
-
}
241
+
}// else {
242
+
// // TODO: Verify that are no other type definition nodes that need to be handled (see ast.d.ts in 'graphql')
243
+
// // Other types include TypeSystemDefinitionNode (Schema, Type, Directvie) and
244
+
// // TypeSystemExtensionNode(Schema, Type);
245
+
// throw new Error(`ERROR: ASTParser.definitionNode: ${node.kind} type not supported`);
0 commit comments