From e30f2a99cf0391905f2300df3227272475c24732 Mon Sep 17 00:00:00 2001 From: Vladimir Razuvaev Date: Mon, 3 Jul 2017 18:14:45 +0700 Subject: [PATCH] Pass ResolveInfo in default field resolver when value is callable --- src/Executor/Executor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index ae23464..0530a60 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -913,7 +913,7 @@ class Executor } } - return is_callable($property) ? $property($source, $args, $context) : $property; + return is_callable($property) ? $property($source, $args, $context, $info) : $property; } /**