lib/avromatic/model/validation.rb in avromatic-2.3.0 vs lib/avromatic/model/validation.rb in avromatic-2.4.0

- old
+ new

@@ -62,11 +62,11 @@ else missing_attributes.concat(Avromatic::Model::Validation.missing_nested_attributes(field.name, value)) end end - unless self.class.config.mutable - @missing_attributes = missing_attributes.deep_freeze + if recursively_immutable? + @missing_attributes = missing_attributes.freeze end missing_attributes end end