Entities::CommitEntity does not exist
Summary
@brodock noted that !23701 (merged) has a few issues. In particular, the Entities::CommitEntity
constant referenced by the desc
block for the API doesn't exist.
In use, this API actually uses the ::CommityEntity
, a controller-only subclass of the ::API::Entities:::Commit
class.
Steps to reproduce
Try to run GitLab with the zeitwerk
autoloader enabled
What is the current bug behavior?
Missing constant complaint
What is the expected correct behavior?
All should be well
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
Edited by Nick Thomas