Skip to content

Conversation

pavelnikolov
Copy link
Member

@pavelnikolov pavelnikolov commented Aug 24, 2025

Reduces worst‑case memory/time usage of overlapping field validation and adds a defensive configurable cap. Introduces benchmarks, fuzz coverage, and unit tests around the new behavior:

  • Optimize overlapping field validation (group by response name, canonical pair cache, indexed child comparisons) to reduce quadratic blowups.
  • Add configurable safety cap OverlapValidationLimit(n) schema option (rule: OverlapValidationLimitExceeded).
  • Add benchmarks (large sibling fields + fragment spreads).
  • Add fuzz test for mixed field/fragment patterns.
  • Add unit test for limit behavior.

addresses #102

@pavelnikolov pavelnikolov requested a review from Copilot August 24, 2025 11:09
@pavelnikolov pavelnikolov merged commit 754f8e9 into main Aug 24, 2025
3 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.

1 participant