Module: Mutations::ResolvesGroup

Extended by:
ActiveSupport::Concern
Included in:
CustomEmoji::Create, DependencyProxy::GroupSettings::Update, DependencyProxy::ImageTtlGroupPolicy::Update, Groups::Update, ResolvesResourceParent
Defined in:
app/graphql/mutations/concerns/mutations/resolves_group.rb

Instance Method Summary collapse

Instance Method Details

#group_resolverObject


11
12
13
# File 'app/graphql/mutations/concerns/mutations/resolves_group.rb', line 11

def group_resolver
  Resolvers::GroupResolver.new(object: nil, context: context, field: nil)
end

#resolve_group(full_path:) ⇒ Object


7
8
9
# File 'app/graphql/mutations/concerns/mutations/resolves_group.rb', line 7

def resolve_group(full_path:)
  group_resolver.resolve(full_path: full_path)
end