In which area i should add di.xml file for "Graphql calls" ?
1 Answer
You can add your di.xml
at:
{Vendor}/{module}/etc/graphql/di.xml
For reference you can check :
vendor/magento/module-graph-ql/etc/graphql/di.xml
-
I do not see this area in documentation devdocs.magento.com/guides/v2.4/extension-dev-guide/build/…– devhsJun 15, 2021 at 12:59
-
please refer: devdocs.magento.com/guides/v2.4/architecture/archi_perspectives/…– PawanJun 15, 2021 at 13:00
-
Thanks, so if graphql call is their then the override in di.xml will work else wont right ?– devhsJun 15, 2021 at 13:02
-
-