mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 12:56:05 +03:00
Execution: Calling resolve function directly (vs calling it via call_user_func)
This commit is contained in:
parent
0483560ee5
commit
9e8e77a071
@ -677,7 +677,7 @@ class Executor
|
||||
$this->exeContext->variableValues
|
||||
);
|
||||
|
||||
return call_user_func($resolveFn, $source, $args, $context, $info);
|
||||
return $resolveFn($source, $args, $context, $info);
|
||||
} catch (\Exception $error) {
|
||||
return $error;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user