Method: Avromatic::Model::RawSerialization::Encode#key_attributes_for_avro

Defined in:
lib/avromatic/model/raw_serialization.rb

#key_attributes_for_avro(validate: UNSPECIFIED) ⇒ Object



55
56
57
58
59
60
61
# File 'lib/avromatic/model/raw_serialization.rb', line 55

def key_attributes_for_avro(validate: UNSPECIFIED)
  unless validate == UNSPECIFIED
    ActiveSupport::Deprecation.warn("The 'validate' argument to #{__method__} is deprecated.")
  end

  avro_hash(key_avro_field_references)
end