README.md in avromatic-0.23.0 vs README.md in avromatic-0.24.0
- old
+ new
@@ -95,9 +95,17 @@
the index of union members when decoding Avro messages. This information is
used to optimize model creation when decoding. By default this information
is included in the hash returned by the `DatumReader` but can be omitted by
setting this option to `false`.
+#### Encoding
+* **use_custom_datum_writer**: `Avromatic` includes a modified subclass of
+ `Avro::IO::DatumWriter`. This subclass uses additional information about
+ the index of union members to optimize the encoding of Avro messages.
+ By default this information is included in the hash passed to the encoder
+ but can be omitted by setting this option to `false`.
+
+
### Models
Models are defined based on an Avro schema for a record.
The Avro schema can be specified by name and loaded using the schema store: