Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
#741: Add extension point to set custom parameters to Query Context o…
Browse files Browse the repository at this point in the history
…bject
  • Loading branch information
naydav committed Jun 14, 2019
1 parent 8831221 commit 7b3024a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/code/Magento/CustomerGraphQl/etc/extension_attributes.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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:Api/etc/extension_attributes.xsd">
<extension_attributes for="Magento\GraphQl\Model\Query\ContextInterface">
<attribute code="customer" type="Magento\Customer\Api\Data\CustomerInterface"/>
</extension_attributes>
</config>

0 comments on commit 7b3024a

Please sign in to comment.