gitlab-org--gitlab-foss/app/graphql/mutations/concerns/mutations/resolves_project.rb
2018-09-11 12:15:23 -07:00

15 lines
301 B
Ruby

# frozen_string_literal: true
module Mutations
module ResolvesProject
extend ActiveSupport::Concern
def resolve_project(full_path:)
resolver.resolve(full_path: full_path)
end
def resolver
Resolvers::ProjectResolver.new(object: nil, context: context)
end
end
end