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...
29
30
switch ($arg->name->value) {
31
case 'type':
32
$generator->casts[$fieldName] = $value;
33
}
34
}
35
}
36
37
public function processModelRelationshipDirective(