lib/avromatic/model/raw_serialization.rb in avromatic-0.32.0 vs lib/avromatic/model/raw_serialization.rb in avromatic-0.33.0
- old
+ new
@@ -20,10 +20,10 @@
included do
@attribute_member_types = {}
end
module ClassMethods
- def recursive_serialize(value, name: nil, member_types: nil, strict: false)
+ def recursive_serialize(value, name: nil, member_types: nil, strict: false) # rubocop:disable Lint/ShadowedArgument
member_types = attribute_member_types(name) if name
member_types ||= EMPTY_ARRAY
if value.is_a?(Avromatic::Model::Attributes)
hash = strict ? value.avro_value_datum : value.value_attributes_for_avro