Pass ResolveInfo in default field resolver when value is callable

This commit is contained in:
Vladimir Razuvaev 2017-07-03 18:14:45 +07:00
parent faf81ef18a
commit e30f2a99cf

View File

@ -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;
} }
/** /**