Skip to content
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

Simplify semanticEquals #6388

Merged
merged 1 commit into from
Feb 19, 2025
Merged

Simplify semanticEquals #6388

merged 1 commit into from
Feb 19, 2025

Conversation

martinbonnin
Copy link
Contributor

Instead of implementing custom logic, compare the SDL representations. It's probably less efficient but we're computing the SDL representation in most cases for the error message anyways. This makes semanticEquals() work on any GQLNode

@martinbonnin martinbonnin requested a review from BoD as a code owner February 19, 2025 14:02
@svc-apollo-docs
Copy link
Collaborator

svc-apollo-docs commented Feb 19, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 2f6dc1bd41a474940519c7d5

Copy link
Contributor

@BoD BoD left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@martinbonnin martinbonnin merged commit 3ef0b76 into main Feb 19, 2025
7 checks passed
@martinbonnin martinbonnin deleted the simplify-semantic-equals branch February 19, 2025 14:42
@martinbonnin martinbonnin self-assigned this Feb 20, 2025
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.

3 participants