You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: full_path_model_loader.rb
    path of file: ./repos/gitlabhq/lib/gitlab/graphql/loaders
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Gitlab
  module Graphql
    module Loaders
      # Suitable for use to find resources that expose `where_full_path_in`,
      # such as Project, Group, Namespace
      # full path is always converted to lowercase for case-insensitive results
      class FullPathM
    
        def find
          BatchLoader::GraphQL.for(full_path).batch(key: model_class) do |full_paths, loader, args|
            scope = args[:key]
            # this logic cannot be placed in the NamespaceResolver due to N+1
            scope = scope.without_project_namespaces if scope == Namespace
            scope = scope.where_full_path_in(full_paths)

            scope.each do |model_instance|
              loader.call(model_instance.full_path.downcase, model_instance)
            end
          end
        end