Skip to content

Fix check keys usage #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix check keys usage #46

wants to merge 1 commit into from

Conversation

cicoub13
Copy link
Member

@cicoub13 cicoub13 commented Aug 1, 2025

Problem

#45 introduced a bug in the new rule.

In case the owner subgraph is adding a new key like this

type Brand @key(fields: "id") @key(fields: "brandId") @key(fields: "id market platform") @key(fields: "brandId market platform")

The rule will consider it as a breaking change, and it's not.

Changes

Excluding main Type (not having resolvable: false) from the tests

Testing

Added in 5_diff_feature called Checking keys with different schemas (owner graph)

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