We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 892c131 + bb19773 commit 4485e23Copy full SHA for 4485e23
app/code/Magento/CustomerGraphQl/etc/graphql/di.xml
@@ -20,4 +20,4 @@
20
</argument>
21
</arguments>
22
</type>
23
-</config>
+</config>
app/code/Magento/GraphQl/Model/Query/ContextParametersProcessorInterface.php
@@ -8,7 +8,12 @@
8
namespace Magento\GraphQl\Model\Query;
9
10
/**
11
- * Extension point for adding custom parameters to context object
+ * Adding custom parameters to context object:
12
+ *
13
+ * - Add new processors argument item to ContextFactory in the di.xml.
14
+ * - Class must extend ContextParametersProcessorInterface.
15
+ * - Implement execute method which adds additional data to the context though extension attributes.
16
+ * - This data will be present in each resolver.
17
*/
18
interface ContextParametersProcessorInterface
19
{
0 commit comments