Added
maxFieldComparisonWorkandmaxFieldConflictsoptions ofDocumentValidator::validate()to change the limits ofOverlappingFieldsCanBeMergedGHSA-vfv6-vf9f-x8h6
Changed
- Spend the
OverlappingFieldsCanBeMergedcomparison budget like graphql-js, raising it to 1000000 and removing the rule's constructor argument in favor ofmaxFieldComparisonWorkGHSA-vfv6-vf9f-x8h6
Fixed
- Denial of Service via quadratic complexity in
OverlappingFieldsCanBeMergedvalidation through conflicting fields and fragment comparisons, fixed by aborting validation withField comparison work limit reached. Validation aborted.or, after 100 conflicts,Field conflict limit reached. Validation aborted.GHSA-vfv6-vf9f-x8h6