1# frozen_string_literal: true 2 3module Resolvers 4 class GroupResolver < BaseResolver 5 prepend FullPathResolver 6 7 type Types::GroupType, null: true 8 9 def resolve(full_path:) 10 model_by_full_path(Group, full_path) 11 end 12 end 13end 14