Open m2-assistant[bot] opened 1 year ago
:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-7916 is successfully created for this GitHub issue.
:white_check_mark: Confirmed by @engcom-Alfa. Thank you for verifying the issue.
Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
This issue is automatically created based on existing pull request: magento/magento2#33801: Added the possibility of using the Contact module's functionality in headless applications
Description (*)
As a developer working on backends meant to be used in headless apps like PWA storefronts I would like to be able to utilize the Magento_Contact (the contact form) functionality using GraphQL. Currently it's not possible because there's no Magento_ContactGraphQl module that would allow that.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
/contact/index/
on the regular magento storefront and send the form - you should receive an email. This is not part of this PR, but we'll be doing the same thing via a GraphQL mutationtrue
for thesuccess
.Questions or comments
As side effects of adding this GraphQL functionality, I did the following things:
dev/tests/integration/testsuite/Magento/Contact/Controller/IndexTest.php
test covers all my refactoring in the Magento_Contact module, so I believe that no additional Integration tests are necessary. So I added only API Functional tests to cover the GraphQL part.Contribution checklist (*)