File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
app/code/Magento/ConfigurableProductGraphQl
Model/Resolver/Products/DataProvider/Product/Formatter
lib/internal/Magento/Framework/GraphQl/Config/Data Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 4
4
* See COPYING.txt for license details.
5
5
*/
6
6
7
- namespace Magento \ConfigurableProductGraphQl \Model \Plugin \ Model \ Resolver \Products \DataProvider \Product \Formatter ;
7
+ namespace Magento \ConfigurableProductGraphQl \Model \Resolver \Products \DataProvider \Product \Formatter ;
8
8
9
9
use Magento \Catalog \Model \Product ;
10
10
use Magento \ConfigurableProduct \Model \Product \Type \Configurable ;
Original file line number Diff line number Diff line change 9
9
<type name =" Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider\Product\FormatterComposite" >
10
10
<arguments >
11
11
<argument name =" formatterInstances" xsi : type =" array" >
12
- <item name =" add_configurable_data" xsi : type =" object" >Magento\ConfigurableProductGraphQl\Model\Plugin\Model\ Resolver\Products\DataProvider\Product\Formatter\ConfigurableOptions</item >
12
+ <item name =" add_configurable_data" xsi : type =" object" >Magento\ConfigurableProductGraphQl\Model\Resolver\Products\DataProvider\Product\Formatter\ConfigurableOptions</item >
13
13
</argument >
14
14
</arguments >
15
15
</type >
Original file line number Diff line number Diff line change 6
6
7
7
namespace Magento \Framework \GraphQl \Config \Data ;
8
8
9
+ use Magento \Framework \GraphQl \Exception \GraphQlInputException ;
9
10
/**
10
11
* Determines a concrete GraphQL type for data returned that implements an interface type.
11
12
*/
@@ -16,6 +17,7 @@ interface TypeResolverInterface
16
17
*
17
18
* @param array $data
18
19
* @return string|null
20
+ * @throws GraphQlInputException
19
21
*/
20
22
public function resolveType (array $ data );
21
23
}
You can’t perform that action at this time.
0 commit comments