BigW Consortium Gitlab
By eager loading these associations we can greatly cut down the number of SQL queries executed when processing documents with lots of references, especially in cases where there are references belonging to the same project. Since these associations are so specific to the reference parsing process and the permissions checking process that follows it I opted to include them directly in IssueParser instead of using something like a scope. Once we have a need for it we can move this code to a scope or method.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
base_parser.rb | Loading commit data... | |
commit_parser.rb | Loading commit data... | |
commit_range_parser.rb | Loading commit data... | |
external_issue_parser.rb | Loading commit data... | |
issue_parser.rb | Loading commit data... | |
label_parser.rb | Loading commit data... | |
merge_request_parser.rb | Loading commit data... | |
milestone_parser.rb | Loading commit data... | |
snippet_parser.rb | Loading commit data... | |
user_parser.rb | Loading commit data... |