The interface Nuwave\Lighthouse\Suppor...tracts\DefinedDirective has been deprecated: The method definition() will be moved to
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated annotation
8
class EagerLoadDirective extends BaseDirective implements /** @scrutinizer ignore-deprecated */ DefinedDirective
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be
removed and what other interface to use instead.
Loading history...
9
{
10
8
public static function definition(): string
11
{
12
return /** @lang GraphQL */ <<<'SDL'
13
8
"""
14
Eager load relationships using Laravel Model::$with();
15
"""
16
directive @eagerLoad (
17
"""
18
If present, use this name as the with($name) parameter. Otherwise try to guess from field.
19
"""
20
name: String
21
22
"""
23
If present, append these values to the with($name) model class.
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.