We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b666bbb commit 7acbb9aCopy full SHA for 7acbb9a
lib/internal/Magento/Framework/GraphQl/Query/Fields.php
@@ -21,7 +21,7 @@ class Fields
21
private $fieldsUsedInQuery = [];
22
23
/**
24
- * Prints AST to string. Capable of printing GraphQL queries and Type definition language.
+ * Set Query for extracting list of fields.
25
*
26
* @param string $query
27
* @return void
@@ -42,6 +42,7 @@ public function setQuery($query)
42
]
43
);
44
} catch (\Exception $e) {
45
+ // If a syntax error is encountered do not collect fields
46
}
47
if (isset($queryFields['IntrospectionQuery'])) {
48
// It must be possible to query any fields during introspection query
0 commit comments