Skip to content

Limit selection set depth across fragment spreads during validation - #10732

Merged
tobias-tengler merged 1 commit into
mainfrom
tte/selection-set-depth-limit
Oct 28, 2026
Merged

tobias-tengler merged 1 commit into
mainfrom
tte/selection-set-depth-limit

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added 📚 documentation This issue is about working on our documentation. 🌶️ hot chocolate labels Oct 28, 2026
@tobias-tengler
tobias-tengler force-pushed the tte/selection-set-depth-limit branch from 248c323 to c5193c6 Compare October 28, 2026 09:27
Copilot AI balanced review requested due to automatic review settings October 28, 2026 09:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@tobias-tengler
tobias-tengler force-pushed the tte/selection-set-depth-limit branch from c5193c6 to 10f3ef6 Compare October 28, 2026 09:29
@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Patch coverage

95.9% of changed lines covered (94/98)

File Covered Changed Patch %
…/Core/src/Validation/Options/ValidationOptions.cs 5 8 62.5% 🔴
…/Core/src/Validation/Rules/SelectionSetDepthRule.cs 73 74 98.6% 🟡
src/HotChocolate/Core/src/Validation/ErrorHelper.cs 12 12 100.0% 🟢
…/src/Validation/Extensions/ValidationBuilderExtensions.cs 4 4 100.0% 🟢
Uncovered changed lines (JSON)
{
  "sha": "5e4045c023718b58b40f4c58d75c42faafc1d906",
  "files": [
    { "path": "src/HotChocolate/Core/src/Validation/Options/ValidationOptions.cs", "ranges": [[108, 110]] },
    { "path": "src/HotChocolate/Core/src/Validation/Rules/SelectionSetDepthRule.cs", "ranges": [[14, 14]] }
  ]
}

Project coverage: 59.2% (318543/537699 lines)

Base automatically changed from tte/fragment-visit-budget-errors to main October 28, 2026 09:40
@tobias-tengler
tobias-tengler force-pushed the tte/selection-set-depth-limit branch from 10f3ef6 to 0174b39 Compare October 28, 2026 09:40
@tobias-tengler
tobias-tengler force-pushed the tte/selection-set-depth-limit branch from 0174b39 to 0ec44b3 Compare October 28, 2026 09:42
@tobias-tengler
tobias-tengler merged commit 160d4e1 into main Oct 28, 2026
158 checks passed
@tobias-tengler
tobias-tengler deleted the tte/selection-set-depth-limit branch October 28, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation This issue is about working on our documentation. 🌶️ hot chocolate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants