Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 41692b5

Browse files
committed
Merge branch 'MAGETWO-83424-Graph-Ql-Custom-Attributes' of github.com:magento-honey-badgers/magento2ce into MAGETWO-83424-Graph-Ql-Custom-Attributes
2 parents c146e84 + acb8fdf commit 41692b5

File tree

7 files changed

+19
-17
lines changed

7 files changed

+19
-17
lines changed

app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/variations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,12 +357,12 @@ define([
357357
var element;
358358

359359
_.each(this.disabledAttributes, function (attribute) {
360-
registry.get('code = ' + attribute, 'index = ' + attribute).disabled(false);
360+
registry.get('index = ' + attribute).disabled(false);
361361
});
362362
this.disabledAttributes = [];
363363

364364
_.each(attributes, function (attribute) {
365-
element = registry.get('code = ' + attribute.code, 'index = ' + attribute.code);
365+
element = registry.get('index = ' + attribute.code);
366366

367367
if (!_.isUndefined(element)) {
368368
element.disabled(true);

app/code/Magento/GraphQl/Model/Type/ServiceContract/TypeGenerator.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
/**
1919
* Translate web API service contract layer from array-style schema to GraphQL types
20+
*
21+
* @api
2022
*/
2123
class TypeGenerator
2224
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
<item name="entityIdToId" xsi:type="object">Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\EntityIdToId</item>
6666
<item name="mediaGalleryEntries" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\MediaGalleryEntries</item>
6767
<item name="options" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\Options</item>
68-
<item name="price" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\Price</item>
68+
<!--<item name="price" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\Price</item>-->
6969
<item name="tierPrices" xsi:type="object">\Magento\GraphQlCatalog\Model\Resolver\Products\DataProvider\Product\Formatter\TierPrices</item>
7070
</argument>
7171
</arguments>

dev/tests/integration/testsuite/Magento/Tax/_files/tax_rule_region_1_al.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@
1818

1919
/** @var Magento\Framework\Registry $registry */
2020
$registry = $objectManager->get(\Magento\Framework\Registry::class);
21-
$registry->unregister('_fixture/Magento_Tax_Model_Calculation_Rate_AL');
22-
$registry->register('_fixture/Magento_Tax_Model_Calculation_Rate_NY_AL', $rate);
21+
$registry->unregister('_fixture/Magento_Tax_Model_Calculation_Rate');
22+
$registry->register('_fixture/Magento_Tax_Model_Calculation_Rate', $rate);
23+
//$registry->unregister('_fixture/Magento_Tax_Model_Calculation_Rate_AL');
24+
//$registry->register('_fixture/Magento_Tax_Model_Calculation_Rate_NY_AL', $rate);
2325

2426
$ruleData = [
2527
'code' => 'AL Test Rule',
@@ -32,3 +34,5 @@
3234
];
3335

3436
$taxRule = $objectManager->create(\Magento\Tax\Model\Calculation\Rule::class)->setData($ruleData)->save();
37+
$registry->unregister('_fixture/Magento_Tax_Model_Calculation_Rule');
38+
$registry->register('_fixture/Magento_Tax_Model_Calculation_Rule', $taxRule);

lib/internal/Magento/Framework/CurrencyInterface.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -239,19 +239,15 @@ public function isLess($value, $currency = null);
239239
/**
240240
* Returns the set service class
241241
*
242-
* @return \Zend_Currency_CurrencyInterface
243-
* @deprecated
244-
* @see \Magento\Directory\Model\Currency\Import\ImportInterface
242+
* @return \Zend_Service
245243
*/
246244
public function getService();
247245

248246
/**
249247
* Sets a new exchange service
250248
*
251-
* @param string|\Zend_Currency_CurrencyInterface $service Service class
252-
* @return \Zend_Currency_CurrencyInterface
253-
* @deprecated
254-
* @see \Magento\Directory\Model\Currency\Import\ImportInterface
249+
* @param string|\Magento\Framework\Locale\CurrencyInterface $service Service class
250+
* @return \Magento\Framework\CurrencyInterface
255251
*/
256252
public function setService($service);
257253
}

setup/performance-toolkit/benchmark.jmx

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)