mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 21:06:05 +03:00
Pass ResolveInfo in default field resolver when value is callable
This commit is contained in:
parent
faf81ef18a
commit
e30f2a99cf
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user