protected function __construct(array $config)
{
$this->name = $config['name'];
$this->type = $config['type'];
$this->resolve = isset($config['resolve']) ? $config['resolve'] : null;
$this->args = isset($config['args']) ? FieldArgument::createMap($config['args']) : [];
$this->description = isset($config['description']) ? $config['description'] : null;
$this->deprecationReason = isset($config['deprecationReason']) ? $config['deprecationReason'] : null;
}