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