Skip to content

Commit

Permalink
Document QueryComplexity::directiveExcludesField
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Jan 15, 2024
1 parent e1f8040 commit 9736eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Validator/Rules/QueryComplexity.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ protected function fieldDefinition(FieldNode $field): ?FieldDefinition
}

/**
* Will the given field be executed at all, given the directives placed upon it?
*
* @throws \Exception
* @throws \ReflectionException
* @throws InvariantViolation
Expand Down

0 comments on commit 9736eea

Please sign in to comment.