Method |
Description |
|
getArgumentValues ( FieldDefinition | Directive $def, FieldNode | DirectiveNode $node, $variableValues ) : array |
Prepares an object map of argument values given a list of argument
definitions and list of argument AST nodes. |
|
getVariableValues ( Schema $schema, VariableDefinitionNode[] $definitionNodes, array $inputs ) : array |
Prepares an object map of variables of the correct type based on the provided
variable definitions and arbitrary input. If the input cannot be coerced
to match the variable definitions, a Error will be thrown. |
|
valueFromAST ( $valueNode, GraphQL\Type\Definition\InputType $type, null $variables = null ) : array | null | stdClass |
|
|