X Tutup
Skip to content

ENF: mergedField containing duplicates and causing Query directives to fail#4139

Merged
andimarek merged 6 commits intomasterfrom
query-directive-fragments
Oct 15, 2025
Merged

ENF: mergedField containing duplicates and causing Query directives to fail#4139
andimarek merged 6 commits intomasterfrom
query-directive-fragments

Conversation

@andimarek
Copy link
Member

@andimarek andimarek commented Oct 14, 2025

The root cause was a MergedField with duplicates, which should not contain multiple AST fields.

This ensures that the MergeField created by ENF factory doesn't contain multiple fields

@github-actions
Copy link
Contributor

github-actions bot commented Oct 14, 2025

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 55d83c7.

♻️ This comment has been updated with latest results.

@andimarek andimarek changed the title Query directives and multiple fragments with the same field ENF: mergedField containing duplicates and causing Query directives to fail Oct 14, 2025
@bbakerman
Copy link
Member

What about a test for non ENF paths. While it might not have the bug, it locks the behavior in for that path

@andimarek andimarek merged commit 694c3e1 into master Oct 15, 2025
5 checks passed
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.

2 participants

X Tutup