Create a way to prevent further calls to GitLab::ObjectHierarchy
We need to provide a way to stop calling GitLab::ObjectHierarchy
class - so the tech debt is reduced instead of growing.
Ideas that were circulating:
- Rubocop rule
- raising an error
We need to a) discuss it b) look for guidance from another teams (someone needed to deal with those kind of problems, right?).