Method: Avromatic::Model::RawSerialization::Encode#value_attributes_for_avro
- Defined in:
- lib/avromatic/model/raw_serialization.rb
#value_attributes_for_avro(validate: UNSPECIFIED) ⇒ Object
43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/avromatic/model/raw_serialization.rb', line 43 def value_attributes_for_avro(validate: UNSPECIFIED) unless validate == UNSPECIFIED ActiveSupport::Deprecation.warn("The 'validate' argument to #{__method__} is deprecated.") end if self.class.recursively_immutable? @value_attributes_for_avro ||= avro_hash(value_avro_field_references) else avro_hash(value_avro_field_references) end end |