protected function mutateExtensionAttribute($key, $type)
    {
        $value = $this->getAttributeFromArray($key);

        $mutation = $this->{'make' . studly_case($type) . 'TypeMutation'}($value);

        $this->mutations[$key] = $mutation;

        return $mutation;
    }