protected function resourceFieldsExistInAttributesAndRelationships(iterable $fields): void
    {
        foreach ($fields as $field) {
            $this->errors->add(
                $this->translator->resourceFieldExistsInAttributesAndRelationships($field)
            );
        }
    }