lib/avromatic/model/builder.rb in avromatic-0.9.0.rc6 vs lib/avromatic/model/builder.rb in avromatic-0.9.0.rc7
- old
+ new
@@ -3,10 +3,11 @@
require 'active_model'
require 'avromatic/model/configuration'
require 'avromatic/model/value_object'
require 'avromatic/model/configurable'
require 'avromatic/model/nested_models'
+require 'avromatic/model/validation'
require 'avromatic/model/attribute/union'
require 'avromatic/model/attributes'
require 'avromatic/model/attribute/record'
require 'avromatic/model/raw_serialization'
require 'avromatic/model/messaging_serialization'
@@ -42,9 +43,10 @@
[
ActiveModel::Validations,
Virtus.value_object,
Avromatic::Model::Configurable,
Avromatic::Model::NestedModels,
+ Avromatic::Model::Validation,
Avromatic::Model::Attributes,
Avromatic::Model::ValueObject,
Avromatic::Model::RawSerialization,
Avromatic::Model::MessagingSerialization
]