SilverStripe\GraphQL\FieldCreator::getResolver
Returns a closure callback to the resolve method. This method will convert an invocation of this operation into a result or set of results.
Either implement , or add a callback resolver within getAttributes() with the 'resolve' key.
Signature
protected function getResolver()
Returns
- Closure|null