We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37bcc08 commit 07f3378Copy full SHA for 07f3378
src/Connection/Connection.php
@@ -104,9 +104,7 @@ public static function createConnectionType(array $config)
104
'description' => 'Information to aid in pagination.'
105
],
106
'edges' => [
107
- 'type' => function() use ($edgeType, $config) {
108
- return Type::listOf($edgeType ?: self::createEdgeType($config));
109
- },
+ 'type' => Type::listOf($edgeType ?: self::createEdgeType($config)),
110
'description' => 'Information to aid in pagination'
111
]
112
], self::resolveMaybeThunk($connectionFields));
0 commit comments