gitlab-org--gitlab-foss/spec/lib/banzai/reference_parser
Jan Provaznik 7f4452d406 Preload project features in reference parser
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.
2018-09-30 20:03:43 +02:00
..
base_parser_spec.rb Use Gitlab::SafeRequestStore in more places 2018-09-24 12:11:27 -07:00
commit_parser_spec.rb Preload project features in reference parser 2018-09-30 20:03:43 +02:00
commit_range_parser_spec.rb Fix reference filters in group context 2018-04-12 11:55:15 +02:00
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 Add frozen_string_literal to recently-added files from the community 2018-08-10 12:41:01 +01:00
snippet_parser_spec.rb
user_parser_spec.rb