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

Commit 9c4298a

Browse files
committed
Use getKey method instead of id
1 parent 1cf05d3 commit 9c4298a

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)