summaryrefslogtreecommitdiff
path: root/app/graphql/resolvers/group_resolver.rb
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