Welcome to mirror list, hosted at ThFree Co, Russian Federation.

group_resolver.rb « resolvers « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4260e18829e61687a6bf6455492e3b77c42f01f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Resolvers
  class GroupResolver < BaseResolver
    prepend FullPathResolver

    type Types::GroupType, null: true

    def resolve(full_path:)
      model_by_full_path(Group, full_path)
    end
  end
end