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

Commit

Permalink
Merge pull request #25 from hosmelq/master
Browse files Browse the repository at this point in the history
Use getKey method instead of id
  • Loading branch information
chrissm79 authored Nov 17, 2016
2 parents 1cf05d3 + 9c4298a commit 326c6d3
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 326c6d3

Please sign in to comment.