lib/cocina/models/validators/validator.rb in cocina-models-0.72.0 vs lib/cocina/models/validators/validator.rb in cocina-models-0.73.0

- old
+ new

@@ -3,10 +3,15 @@ module Cocina module Models module Validators # Perform validation against all other Validators class Validator - VALIDATORS = [OpenApiValidator, DarkValidator, CatalogLinksValidator].freeze + VALIDATORS = [ + OpenApiValidator, + DarkValidator, + CatalogLinksValidator, + DescriptionTypesValidator + ].freeze def self.validate(clazz, attributes) VALIDATORS.each { |validator| validator.validate(clazz, attributes) } end end