Skip to content

Commit

Permalink
use interface name for registration
Browse files Browse the repository at this point in the history
  • Loading branch information
chrissm79 committed Mar 25, 2018
1 parent dabe7bc commit 47e22db
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Schema/Values/NodeValue.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ public function getNodeFields()
public function getInterfaces()
{
return collect($this->node->interfaces)
->map(function ($interface) {
return $interface->name->value;
})
->merge($this->interfaces)
->unique()
->values()
Expand Down

0 comments on commit 47e22db

Please sign in to comment.