Skip to content

fix: add missing key fields to graphql fragments and queries#4491

Open
griest024 wants to merge 1 commit into
graycoreio:developfrom
griest024:fix/all/driver/magento/-add-missing-key-fields
Open

fix: add missing key fields to graphql fragments and queries#4491
griest024 wants to merge 1 commit into
graycoreio:developfrom
griest024:fix/all/driver/magento/-add-missing-key-fields

Conversation

@griest024
Copy link
Copy Markdown
Member

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

Fixes: #
Part of: #

New behavior

Breaking change?

  • Yes
  • No

Additional context

I used an eslint plugin (that's not quite ready to merge but does work) to auto add these. The one caveat is that the plugin cannot tell if a key field is added by a fragment or not so it adds them to basically all queries. Should be okay since they will just get merged by apollo and its better safe than sorry

@griest024 griest024 requested a review from a team as a code owner May 22, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant