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