mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-17 04:43:14 +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
|
$this->exeContext->variableValues
|
||||||
);
|
);
|
||||||
|
|
||||||
return call_user_func($resolveFn, $source, $args, $context, $info);
|
return $resolveFn($source, $args, $context, $info);
|
||||||
} catch (\Exception $error) {
|
} catch (\Exception $error) {
|
||||||
return $error;
|
return $error;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user