Need better interface for Noteable object
Right now a Noteable type can be a commit, merge request, snippet, issue, etc., but there isn't a consistent interface. For example, MergeRequest does not have project_id but Issue#project_id does exist, leading to all sorts of special case handling.
We should define a consistent interface/mixin for accessing Noteable.
/cc: @grzesiek, @rspeicher
Edited by 🤖 GitLab Bot 🤖