Accessing value on the interface GraphQL\Language\AST\ValueNode suggest that you code against a concrete implementation. How about adding an instanceof check?
Loading history...
27
28
switch ($arg->name->value) {
29
case 'class':
30
$generator->parentClassName = $value;
31
break;
32
}
33
}
34
}
35
36
public function processModelRelationshipDirective(