debian-mirror-gitlab/app/finders
2019-10-12 21:52:04 +05:30
..
admin New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
autocomplete New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
boards New upstream version 12.1.11 2019-09-30 21:07:59 +05:30
clusters New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
concerns New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
projects New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
access_requests_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
applications_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
awarded_emoji_finder.rb New upstream version 11.3.10+dfsg 2018-11-20 20:47:30 +05:30
branches_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
cluster_ancestors_finder.rb New upstream version 11.7.5 2019-02-15 15:39:39 +05:30
clusters_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
container_repositories_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
contributed_projects_finder.rb New upstream version 11.5.10+dfsg 2019-02-02 18:00:53 +05:30
environments_finder.rb New upstream version 12.1.11 2019-09-30 21:07:59 +05:30
events_finder.rb New upstream version 11.7.5 2019-02-15 15:39:39 +05:30
fork_projects_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
group_descendants_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
group_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
group_labels_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
group_members_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
group_projects_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
groups_finder.rb New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
issuable_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
issues_finder.rb New upstream version 11.11.7+dfsg 2019-07-31 17:26:46 +00:00
joined_groups_finder.rb New upstream version 11.3.10+dfsg 2018-11-20 20:47:30 +05:30
labels_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
license_template_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
members_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
merge_request_target_project_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
merge_requests_finder.rb New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
milestones_finder.rb New upstream version 11.8.0 2019-03-02 22:35:43 +05:30
notes_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
pending_todos_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
personal_access_tokens_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
personal_projects_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
pipeline_schedules_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
pipelines_finder.rb New upstream version 11.7.5 2019-02-15 15:39:39 +05:30
projects_finder.rb New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
README.md Imported Upstream version 7.14.3 2015-09-11 14:41:01 +05:30
releases_finder.rb New upstream version 11.7.5 2019-02-15 15:39:39 +05:30
resource_label_event_finder.rb New upstream version 12.1.12 2019-09-30 23:59:55 +05:30
runner_jobs_finder.rb New upstream version 12.1.11 2019-09-30 21:07:59 +05:30
snippets_finder.rb New upstream version 11.10.8+dfsg 2019-07-07 11:18:12 +05:30
starred_projects_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
tags_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
template_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
todos_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
union_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
user_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
user_recent_events_finder.rb New upstream version 11.4.9+dfsg 2018-12-05 23:21:45 +05:30
users_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +05:30
users_star_projects_finder.rb New upstream version 12.2.8 2019-10-12 21:52:04 +05:30
users_with_pending_todos_finder.rb New upstream version 11.5.3+dfsg 2018-12-13 13:39:08 +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.