Skip to content

Commit 4ffa6f2

Browse files
committed
MAGETWO-31901: Implement Attributes Mapping to Data Interfaces
- Added Configuration for complex attribute classes in Test Service
1 parent b8960ac commit 4ffa6f2

File tree

1 file changed

+8
-1
lines changed
  • dev/tests/api-functional/_files/Magento/TestModuleMSC/etc

1 file changed

+8
-1
lines changed

dev/tests/api-functional/_files/Magento/TestModuleMSC/etc/di.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@
3535
<argument name="resource" xsi:type="object">Magento\TestModuleMSC\Model\Resource\Item</argument>
3636
</arguments>
3737
</type>
38-
38+
<type name="Magento\Framework\Api\CustomAttributeMap">
39+
<arguments>
40+
<argument name="data" xsi:type="array">
41+
<item name="customAttributeDataObjectInterface" xsi:type="string">Magento\TestModuleMSC\Api\Data\CustomAttributeDataObjectInterface</item>
42+
<item name="customAttributeNestedDataObjectInterface" xsi:type="string">Magento\TestModuleMSC\Api\Data\CustomAttributeNestedDataObjectInterface</item>
43+
</argument>
44+
</arguments>
45+
</type>
3946
</config>

0 commit comments

Comments
 (0)