I've just started with neo4j and NeoEloquent and I cannot get the edge (there is some important information) of a node which is related to himself.
I add this relation like this:
UserMode.php
public function getTech ()
{
return $this->belongsToMany(User::class, 'Conoce');
}
When I try to get the edge like this:
dump(Auth::user()->getTech()->edge(Auth::user()->getTech[0]));
I get this error: Type error: Argument 1 passed to Vinelab\NeoEloquent\Eloquent\Edges\Finder::edgeFromRelationWithDirection() must be an instance of Everyman\Neo4j\Relationship, boolean given,
Thanks in advice!