mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-11 18:19:23 +03:00
parent
ff63e07b05
commit
74854d55a0
@ -204,9 +204,9 @@ class ASTDefinitionBuilder
|
|||||||
return [
|
return [
|
||||||
'type' => $this->buildOutputType($field->type),
|
'type' => $this->buildOutputType($field->type),
|
||||||
'description' => $this->getDescription($field),
|
'description' => $this->getDescription($field),
|
||||||
'args' => $this->makeInputValues($field->arguments),
|
'args' => $field->arguments ? $this->makeInputValues($field->arguments) : null,
|
||||||
'deprecationReason' => $this->getDeprecationReason($field),
|
'deprecationReason' => $this->getDeprecationReason($field),
|
||||||
'astNode' => $field
|
'astNode' => $field,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user