Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 326c6d3

Browse files
authored
Merge pull request #25 from hosmelq/master
Use getKey method instead of id
2 parents 1cf05d3 + 9c4298a commit 326c6d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/Definition/RelayType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function getConnections()
7373
*/
7474
public function getIdentifier($obj)
7575
{
76-
return $obj->id;
76+
return $obj->getKey();
7777
}
7878

7979
/**

0 commit comments

Comments
 (0)