protected function parseFields($params)
    {
        foreach (explode(',', $params) as $field) {
            // Only add the fields that are on the base resource
            if (! Str::contains($field, '.')) {
                $this->fields[] = trim($field);
            } else {
                $this->additionalFields[] = trim($field);
            }
        }
    }