lib/avromatic/model/builder.rb in avromatic-0.9.0.rc1 vs lib/avromatic/model/builder.rb in avromatic-0.9.0.rc2
- old
+ new
@@ -2,10 +2,11 @@
require 'active_support/concern'
require 'active_model'
require 'avromatic/model/configuration'
require 'avromatic/model/value_object'
require 'avromatic/model/configurable'
+require 'avromatic/model/nested_models'
require 'avromatic/model/attribute/union'
require 'avromatic/model/attributes'
require 'avromatic/model/attribute/record'
require 'avromatic/model/raw_serialization'
require 'avromatic/model/messaging_serialization'
@@ -40,9 +41,10 @@
def inclusions
[
ActiveModel::Validations,
Virtus.value_object,
Avromatic::Model::Configurable,
+ Avromatic::Model::NestedModels,
Avromatic::Model::Attributes,
Avromatic::Model::ValueObject,
Avromatic::Model::RawSerialization,
Avromatic::Model::MessagingSerialization
]