debian-mirror-gitlab/app/finders
2018-11-08 19:23:39 +05:30
..
admin New upstream version 10.7.3+dfsg 2018-05-09 12:01:36 +05:30
concerns New upstream version 10.6.0+dfsg 2018-03-27 19:54:05 +05:30
access_requests_finder.rb New upstream version 8.13.3+dfsg1 2016-11-03 12:29:30 +05:30
autocomplete_users_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
branches_finder.rb New upstream version 10.6.0+dfsg 2018-03-27 19:54:05 +05:30
clusters_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
contributed_projects_finder.rb Imported Upstream version 8.8.2+dfsg 2016-06-02 11:05:42 +05:30
environments_finder.rb New upstream version 9.2.10+dfsg 2017-08-17 22:00:37 +05:30
events_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
fork_projects_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
group_descendants_finder.rb New upstream version 10.8.7+dfsg 2018-10-15 14:42:47 +05:30
group_finder.rb New upstream version 9.2.10+dfsg 2017-08-17 22:00:37 +05:30
group_members_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
group_projects_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
groups_finder.rb New upstream version 10.8.7+dfsg 2018-10-15 14:42:47 +05:30
issuable_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
issues_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
joined_groups_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
labels_finder.rb New upstream version 10.7.3+dfsg 2018-05-09 12:01:36 +05:30
members_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
merge_request_target_project_finder.rb New upstream version 10.7.3+dfsg 2018-05-09 12:01:36 +05:30
merge_requests_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
milestones_finder.rb New upstream version 10.6.0+dfsg 2018-03-27 19:54:05 +05:30
move_to_project_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
notes_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
personal_access_tokens_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
personal_projects_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
pipeline_schedules_finder.rb New upstream version 9.2.10+dfsg 2017-08-17 22:00:37 +05:30
pipelines_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
projects_finder.rb New upstream version 10.7.3+dfsg 2018-05-09 12:01:36 +05:30
README.md Imported Upstream version 7.14.3 2015-09-11 14:41:01 +05:30
runner_jobs_finder.rb New upstream version 10.5.5+dfsg 2018-03-17 18:26:18 +05:30
snippets_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
tags_finder.rb New upstream version 8.12.1+dfsg1 2016-09-29 09:46:39 +05:30
todos_finder.rb New upstream version 10.7.3+dfsg 2018-05-09 12:01:36 +05:30
union_finder.rb Imported Upstream version 8.8.2+dfsg 2016-06-02 11:05:42 +05:30
user_recent_events_finder.rb New upstream version 11.1.8+dfsg 2018-11-08 19:23:39 +05:30
users_finder.rb New upstream version 10.8.7+dfsg 2018-10-15 14:42:47 +05:30

Finders

This type of classes responsible for collection items based on different conditions. To prevent lookup methods in models like this:

class Project
  def issues_for_user_filtered_by(user, filter)
    # A lot of logic not related to project model itself
  end
end

issues = project.issues_for_user_filtered_by(user, params)

Better use this:

issues = IssuesFinder.new(project, user, filter).execute

It will help keep models thiner.