lib/avromatic/model/builder.rb in avromatic-0.4.0 vs lib/avromatic/model/builder.rb in avromatic-0.5.0
- old
+ new
@@ -3,11 +3,12 @@
require 'active_model'
require 'avromatic/model/configuration'
require 'avromatic/model/value_object'
require 'avromatic/model/configurable'
require 'avromatic/model/attributes'
-require 'avromatic/model/serialization'
+require 'avromatic/model/raw_serialization'
+require 'avromatic/model/messaging_serialization'
module Avromatic
module Model
# This class implements generating models from Avro schemas.
@@ -39,10 +40,11 @@
ActiveModel::Validations,
Virtus.value_object,
Avromatic::Model::Configurable,
Avromatic::Model::Attributes,
Avromatic::Model::ValueObject,
- Avromatic::Model::Serialization
+ Avromatic::Model::RawSerialization,
+ Avromatic::Model::MessagingSerialization
]
end
private