Skip to content

Commit

Permalink
bug #299 fixed ConnectionDefinition config
Browse files Browse the repository at this point in the history
allows to define custom resolver for cursor
  • Loading branch information
mcg-web authored Mar 1, 2018
2 parents 1389019 + c5ab10b commit e7e7ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Relay/Connection/ConnectionDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function toMappingDefinition(array $config)
$edgeFields = empty($config['edgeFields']) || !is_array($config['edgeFields']) ? [] : $config['edgeFields'];
$nodeType = empty($config['nodeType']) || !is_string($config['nodeType']) ? null : $config['nodeType'];
$resolveNode = empty($config['resolveNode']) ? null : $config['resolveNode'];
$resolveCursor = empty($config['resolveCursor']) ? null : $config['resolveNode'];
$resolveCursor = empty($config['resolveCursor']) ? null : $config['resolveCursor'];

//connection
$connectionName = $namePrefix.'Connection';
Expand Down

0 comments on commit e7e7ee7

Please sign in to comment.