Свойство | Тип | Описание | |
---|---|---|---|
$data | array | ||
$executionContext | |||
$maxComplexity | integer | ||
$resolveValidator | Youshido\GraphQL\Validator\ResolveValidator\ResolveValidatorInterface |
Метод | Описание | |
---|---|---|
__construct ( |
||
getExecutionContext ( ) : |
You can access ExecutionContext to check errors and inject dependencies | |
getMaxComplexity ( ) : integer | ||
getResponseData ( ) | ||
processPayload ( $payload, $variables = [], $reducers = [] ) | ||
setMaxComplexity ( integer $maxComplexity ) |
Метод | Описание | |
---|---|---|
createResolveInfo ( Youshido\GraphQL\Field\FieldInterface $field, array $astFields ) | ||
doResolve ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null ) | ||
parseAndCreateRequest ( $payload, $variables = [] ) | ||
parseArgumentsValues ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast ) | ||
resolveComposite ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) | ||
resolveField ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null, $fromObject = false ) | ||
resolveList ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) | ||
resolveObject ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue, $fromUnion = false ) | ||
resolveQuery ( |
||
resolveScalar ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) |
Метод | Описание | |
---|---|---|
collectResult ( Youshido\GraphQL\Field\FieldInterface $field, |
||
getAlias ( Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast ) | ||
getVariableReferenceArgumentValue ( |
||
prepareArgumentValue ( $argumentValue, |
||
prepareAstArguments ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $query, |
public __construct ( |
||
$schema |
protected createResolveInfo ( Youshido\GraphQL\Field\FieldInterface $field, array $astFields ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$astFields | array |
protected doResolve ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
public getExecutionContext ( ) : |
||
Результат |
protected parseAndCreateRequest ( $payload, $variables = [] ) |
protected parseArgumentsValues ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
public processPayload ( $payload, $variables = [], $reducers = [] ) |
protected resolveComposite ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
protected resolveField ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue = null, $fromObject = false ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
protected resolveList ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
protected resolveObject ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue, $fromUnion = false ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
protected resolveQuery ( |
||
$query |
protected resolveScalar ( Youshido\GraphQL\Field\FieldInterface $field, Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast, $parentValue ) | ||
$field | Youshido\GraphQL\Field\FieldInterface | |
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
public setMaxComplexity ( integer $maxComplexity ) | ||
$maxComplexity | integer |
protected ExecutionContext,Youshido\GraphQL\Execution\Context $executionContext | ||
Результат |