Module: Mutations::ResolvesNamespace

Extended by:
ActiveSupport::Concern
Included in:
Namespace::PackageSettings::Update
Defined in:
app/graphql/mutations/concerns/mutations/resolves_namespace.rb

Instance Method Summary collapse

Instance Method Details

#namespace_resolverObject



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

def namespace_resolver
  Resolvers::NamespaceResolver.new(object: nil, context: context, field: nil)
end

#resolve_namespace(full_path:) ⇒ Object



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

def resolve_namespace(full_path:)
  namespace_resolver.resolve(full_path: full_path)
end