7f4452d406
Preloading of project_features mitigates N+1 queries when checking references in other projects. When loading projects for resources referenced in comments it makes sense to include also associated project_features because in the following step (`can_read_reference?(user, projects[node], node)`) project features is used for checking permissions for the given project. |
||
---|---|---|
.. | ||
base_parser_spec.rb | ||
commit_parser_spec.rb | ||
commit_range_parser_spec.rb | ||
external_issue_parser_spec.rb | ||
issue_parser_spec.rb | ||
label_parser_spec.rb | ||
merge_request_parser_spec.rb | ||
milestone_parser_spec.rb | ||
project_parser_spec.rb | ||
snippet_parser_spec.rb | ||
user_parser_spec.rb |