1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# frozen_string_literal: true module Mutations module ResolvesGroup extend ActiveSupport::Concern def resolve_group(full_path:) resolver.resolve(full_path: full_path) end def resolver Resolvers::GroupResolver.new(object: nil, context: context) end end end