Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

GraphQL: Document CORS support #8465

Closed
Closed
@keharper

Description

@keharper

Community engineering issue

Type of Doc:

  • New topic
  • Topic Update, Devdoc link:
  • Other

Magento 2 GitHub Issue: magento/magento2#31195

Magento 2 GitHub PR: magento/magento2#31484

Magento 2 version:

  • 2.4

Notifications of Changes:

  • Changes to Admin interface?
  • New software requirements?
  • New REST endpoints or updated GraphQL query syntax?
  • New command line option?

Content

Do not start working on this issue until Magento has approved PR magento/magento2#31484

Add documentation that describes GraphQL CORS support.

CORS support was originally a feature targeted for 2.4.2, but Magento did not merge that code into mainline. You can use the text in #7629 as a starting point, if the code in magento/magento2#31484 is compatible. (#7815 reverted those doc updates.)

Additional information

CORS support is a 2.4.3 feature. Create your PR off of the 2.4.3-develop branch.

As of the moment I'm writing this issue, there is no 2.4.3-develop branch. If the 2.4.3-develop branch exists when you start working on this issue, create your PR against it. Otherwise, create the PR against the 2.4.2-develop branch with the knowledge that it will need to be rebased.

If this iteration of CORS support does not warrant a new topic, then be sure to break the symlink using the rake symlink:replace_at path=src/guides/v2.4/graphql/send-request.md command.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions