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

Fix: Ignore Identifier nodes in the diffing algorithm #3065

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

izeigerman
Copy link
Collaborator

The Identifier node is too granular for diffing and doesn't posses a relevant context on its own. Because of this the resulting edit scripts are often too noisy and sometimes misleading.

The problem becomes more pronounced when the same identifier is repeated many times throughout a query, which is often the case when projections are fully qualified.

@izeigerman izeigerman requested a review from tobymao March 1, 2024 20:33
@izeigerman izeigerman force-pushed the fix-ignore-identifier-in-diff branch from 64d435d to 9d82ca6 Compare March 1, 2024 20:47
@izeigerman izeigerman force-pushed the fix-ignore-identifier-in-diff branch from 9d82ca6 to 1ed2975 Compare March 1, 2024 21:04
@izeigerman izeigerman merged commit c8a753b into main Mar 1, 2024
5 checks passed
@izeigerman izeigerman deleted the fix-ignore-identifier-in-diff branch March 1, 2024 21:19
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.

None yet

3 participants