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 7223e89 commit 53c5cf8Copy full SHA for 53c5cf8
lib/internal/Magento/Framework/GraphQlSchemaStitching/GraphQlReader.php
@@ -354,7 +354,7 @@ private function addPlaceHolderInSchema(string $graphQlSchemaContent) :string
354
$typesKindsPattern = '(type|interface|input|union)';
355
$enumKindsPattern = '(enum)';
356
$typeNamePattern = '([_A-Za-z][_0-9A-Za-z]+)';
357
- $typeDefinitionPattern = '([^\{]*)(\{[\s\t\n\r^\}]*\})';
+ $typeDefinitionPattern = '([^\{\}]*)(\{[\s\t\n\r^\}]*\})';
358
$spacePattern = '([\s\t\n\r]+)';
359
360
//add placeholder in empty types
0 commit comments