debian-mirror-gitlab/app/graphql/resolvers/group_resolver.rb
2019-07-31 17:26:46 +00:00

13 lines
243 B
Ruby

# 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