Skip to content

Commit

Permalink
fix(graphql): Detection of operator-directive for implicit type.
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Mar 1, 2024
1 parent 1703d95 commit b5a777e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/graphql/src/Builder/Types/InputObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,7 @@ protected function isFieldConvertableImplicit(
// (most likely) cannot be used to modify the Builder.

// Operator?
$marker = $this->getFieldMarkerOperator();
$operator = $marker
? $manipulator->getDirective($field->getField(), $marker)
: null;
$operator = $this->getFieldOperatorDirective($manipulator, $field, $context, $this->getFieldMarkerOperator());

if ($operator) {
return true;
Expand Down

0 comments on commit b5a777e

Please sign in to comment.