File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
dev/tests/static/testsuite/Magento/Test/Integrity/Dependency Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 9
9
namespace Magento \Test \Integrity \Dependency ;
10
10
11
11
use Magento \Framework \App \Bootstrap ;
12
+ use Magento \Framework \GraphQlSchemaStitching \GraphQlReader ;
13
+ use Magento \Framework \GraphQlSchemaStitching \GraphQlReader \TypeReaderComposite ;
12
14
13
15
/**
14
16
* Provide information on the dependency between the modules according to the GraphQL schema.
@@ -86,7 +88,8 @@ private function getGraphQlSchemaDeclaration(): array
86
88
{
87
89
if (!$ this ->parsedSchema ) {
88
90
$ objectManager = Bootstrap::create (BP , $ _SERVER )->getObjectManager ();
89
- $ reader = $ objectManager ->create (\Magento \Framework \GraphQlSchemaStitching \GraphQlReader::class);
91
+ $ typeReader = $ objectManager ->create (TypeReaderComposite::class);
92
+ $ reader = $ objectManager ->create (GraphQlReader::class, ['typeReader ' => $ typeReader ]);
90
93
$ this ->parsedSchema = $ reader ->read ();
91
94
}
92
95
You can’t perform that action at this time.
0 commit comments