18 lines
394 B
Ruby
18 lines
394 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Mutations
|
|
module Metrics
|
|
module Dashboard
|
|
module Annotations
|
|
class Base < BaseMutation
|
|
private
|
|
|
|
# This method is defined here in order to be used by `authorized_find!` in the subclasses.
|
|
def find_object(id:)
|
|
GitlabSchema.object_from_id(id)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|