src/Schema/Directives/BaseDirective.php
protected function namespaceModelClass(string $modelClassCandidate): string
    {
        return $this->namespaceClassName(
            $modelClassCandidate,
            (array) config('lighthouse.namespaces.models'),
            function (string $classCandidate): bool {
                return is_subclass_of($classCandidate, Model::class);
            }
        );
    }
protected function namespaceModelClass(string $modelClassCandidate): string
    {
        return $this->namespaceClassName(
            $modelClassCandidate,
            (array) config('lighthouse.namespaces.models'),
            function (string $classCandidate): bool {
                return is_subclass_of($classCandidate, Model::class);
            }
        );
    }
protected function namespaceModelClass ( string $ modelClassCandidate ) : string { return $ this -> namespaceClassName ( $ modelClassCandidate , ( array ) config ( 'lighthouse.namespaces.models' ) , function ( string $ classCandidate ) : bool { return is_subclass_of ( $ classCandidate , Model :: class ) ; } ) ; }
Try adding the default model namespace and ensure the given class is a model.

@param  string  $modelClassCandidate
@return string
Try adding the default model namespace and ensure the given class is a model .