GraphQL: Add support for gift wrapping #7365
Description
Community engineering issue
Type of Doc:
- New topic
- Topic Update, Devdoc link:
- Other
Magento 2 GitHub Issue: magento/magento2#28519
Magento 2 GitHub PR: https://github.com/magento/partners-magento2ee/pull/246
Magento 2 version:
- 2.4.1
Notifications of Changes:
- Changes to Admin interface?
- New software requirements?
- New REST endpoints or updated GraphQL query syntax?
- New command line option?
Content
This issue provides an overview of the GraphQL documentation changes required to support gift messages. Additional work might be required.
- Add documentation for the
setGiftOptionsOnCart
mutation. The mutation documentation must include examples, descriptions for input/output attributes, and a description of the error messages. - Update the src/_data/toc/graphql.yml file to include the new mutations.
- Update the
storeConfig
query to include new attributes - Potentially update any mutation that adds items to a cart or updates a cart
- Potentially update the
cart
query
Important
-
If any affected file in the
v2.4/graphql
directory is a symlink, the symlink must be broken with thegit rm <path to 2.4 file>
command. Then copy the v2.3 version over to v2.4. -
If any file in the
_includes/graphql
directory needs to be updated, and that file name does not end with-24.md
, make a copy of that file and give it a name that ends with-24.md
. All files in thev2.4
directory that reference the original include file must be updated to reference the new-24.md
file.
Create your branch off of 2.4.1-develop
.
Additional information
This issue is assigned to Atwix, because they contributed the functionality.