|
@@ -45,10 +45,10 @@ |
|
|
block discarded – undo |
|
45
|
45
|
[ |
|
46
|
46
|
'name' => $definition->getName(), |
|
47
|
47
|
'description' => $definition->getDescription(), |
|
48
|
|
- 'fields' => function () { |
|
|
48
|
+ 'fields' => function() { |
|
49
|
49
|
return $this->resolveFields(); |
|
50
|
50
|
}, |
|
51
|
|
- 'resolveField' => function ($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
|
51
|
+ 'resolveField' => function($root, array $args, $context, ResolveInfo $resolveInfo) { |
|
52
|
52
|
$resolver = new ObjectFieldResolver($this->container, $this->endpoint, $this->definition); |
|
53
|
53
|
|
|
54
|
54
|
return $resolver($root, $args, $context, $resolveInfo); |
Please login to merge, or discard this patch.