Skip to content

Commit e347a9f

Browse files
authored
Merge pull request #9920 from magento-lynx/graphql-api-enhancements
2 parents a6933f3 + 74a5499 commit e347a9f

File tree

53 files changed

+1677
-1773
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+1677
-1773
lines changed

app/code/Magento/CatalogRule/Model/Config/CatalogRule.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

app/code/Magento/CatalogRule/Model/ResourceModel/GetAllCatalogRules.php

Lines changed: 0 additions & 56 deletions
This file was deleted.

app/code/Magento/CatalogRule/Model/ResourceModel/GetAppliedCatalogRules.php

Lines changed: 0 additions & 62 deletions
This file was deleted.

app/code/Magento/CatalogRule/etc/adminhtml/system.xml

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/code/Magento/CatalogRule/etc/config.xml

Lines changed: 0 additions & 17 deletions
This file was deleted.

app/code/Magento/CatalogRuleGraphQl/Model/Resolver/AllCatalogRules.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

app/code/Magento/CatalogRuleGraphQl/Model/Resolver/AppliedCatalogRules.php

Lines changed: 0 additions & 60 deletions
This file was deleted.

app/code/Magento/CatalogRuleGraphQl/etc/graphql/di.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,4 @@
99
<type name="Magento\CatalogRule\Pricing\Price\CatalogRulePrice">
1010
<plugin name="update_catalog_rule_price_for_logged_in_customer_group" type="Magento\CatalogRuleGraphQl\Plugin\Pricing\Price\UpdateCatalogRulePrice"/>
1111
</type>
12-
<type name="Magento\StoreGraphQl\Model\Resolver\Store\StoreConfigDataProvider">
13-
<arguments>
14-
<argument name="extendedConfigData" xsi:type="array">
15-
<item name="share_all_catalog_rules" xsi:type="string">catalog/rule/share_all_catalog_rules</item>
16-
<item name="share_applied_catalog_rules" xsi:type="string">catalog/rule/share_applied_catalog_rules</item>
17-
</argument>
18-
</arguments>
19-
</type>
2012
</config>

app/code/Magento/CatalogRuleGraphQl/etc/schema.graphqls

Lines changed: 0 additions & 19 deletions
This file was deleted.

app/code/Magento/Customer/Model/Config/AccountInformation.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
class AccountInformation
1313
{
14-
private const XML_PATH_SHARE_ALL_CUSTOMER_GROUPS = 'customer/account_information/graphql_share_all_customer_groups';
1514
private const XML_PATH_SHARE_CUSTOMER_GROUP = 'customer/account_information/graphql_share_customer_group';
1615

1716
/**
@@ -24,16 +23,6 @@ public function __construct(
2423
) {
2524
}
2625

27-
/**
28-
* Is 'graphql_share_all_customer_groups' config enabled
29-
*
30-
* @return bool
31-
*/
32-
public function isShareAllCustomerGroupsEnabled(): bool
33-
{
34-
return $this->scopeConfig->isSetFlag(self::XML_PATH_SHARE_ALL_CUSTOMER_GROUPS);
35-
}
36-
3726
/**
3827
* Is 'graphql_share_customer_group' config enabled
3928
*

0 commit comments

Comments
 (0)