for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
# frozen_string_literal: true
# rubocop:disable Lint/UnusedMethodArgument
require_relative 'interface'
module AMA
module Entity
class Mapper
module API
# Custom validator for entity
class EntityValidator < Interface
# :nocov:
# @param [Object] entity
# @param [Mapper::Type::Concrete] type
# @param [Mapper::Context] context
# @return [Array<Array<Attribute, String, Segment>] List of
# violations, combined with attribute and segment
def validate(entity, type, context)
abstract_method
end