Prefer polymorphism over referable.respond_to?(:project)

Related issues

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6425#note_17067245

https://gitlab.com/gitlab-org/gitlab-ce/issues/23586

Edited Sep 29, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading