This commit is contained in:
2026-09-15 10:26:34 +08:00
commit ecf36afa56
10493 changed files with 1404888 additions and 0 deletions
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
<preference for="Magento\TestModuleGraphQlBackpressure\Api\TestReadServiceInterface"
type="Magento\TestModuleGraphQlBackpressure\Model\TestReadService" />
<type name="Magento\GraphQl\Model\Backpressure\CompositeRequestTypeExtractor">
<arguments>
<argument name="extractors" xsi:type="array">
<item name="graphqltestbackpressure" xsi:type="object">
Magento\TestModuleGraphQlBackpressure\Model\TypeExtractor
</item>
</argument>
</arguments>
</type>
<type name="Magento\Framework\App\Backpressure\SlidingWindow\CompositeLimitConfigManager">
<arguments>
<argument name="configs" xsi:type="array">
<item name="testgraphqlbackpressure" xsi:type="object">
Magento\TestModuleGraphQlBackpressure\Model\LimitConfigManager
</item>
</argument>
</arguments>
</type>
</config>
@@ -0,0 +1,10 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magento_TestModuleGraphQlBackpressure" />
</config>
@@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="standard">
<route id="moduletestgraphqlback" frontName="moduletestgraphqlback">
<module name="Magento_TestModuleGraphQlBackpressure" />
</route>
</router>
</config>
@@ -0,0 +1,10 @@
# Copyright © Magento, Inc. All rights reserved.
# See COPYING.txt for license details.
type TestReadOutput {
str: String
}
type Query {
testGraphqlRead: TestReadOutput @resolver(class: "Magento\\TestModuleGraphQlBackpressure\\Model\\TestServiceResolver") @cache(cacheable: false)
}