gitlab-org--gitlab-foss/app/graphql/resolvers/group_resolver.rb

14 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