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

Commit

Permalink
Use getKey method instead of id
Browse files Browse the repository at this point in the history
  • Loading branch information
hosmelq committed Nov 14, 2016
1 parent 1cf05d3 commit 9c4298a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/Definition/RelayType.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getConnections()
*/
public function getIdentifier($obj)
{
return $obj->id;
return $obj->getKey();
}

/**
Expand Down

0 comments on commit 9c4298a

Please sign in to comment.