magento / magento/catalog-storefront

GQL server: verify requirements

Open
#239 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GQL server internal Progress: ready for grooming
Dominant language
PHP
Stars
7
Forks
16
PR merge metrics
No merged PRs in 30d

Description

In order to satisfy current requirements need to verify and implement if missed:

  • GQL server collect fields from GQL query and pass them as an argument to Storefront API
  • do proxy request to Luma GQL endpoint (webonyx graphql) for deprecated fields
    • Luma GQL endpoint url should be configured (environment variables?)

Also to verify that tests are green need to run WebAPI GraphQL tests on GQL server - need to think how to inject this in current Jenkins infrastructure

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the GQL server requirements and the linked PHP product resolver example for field collection and Storefront API requests. Verify how deprecated fields should proxy to the Luma GQL endpoint and how its URL could be configured. Then inspect the WebAPI GraphQL tests and current Jenkins infrastructure to define what must run and what green results mean.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, php
Domain
api, backend, ci-cd
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.