elodina / go-avro

Apache Avro for Golang
http://elodina.github.io/go-avro/
Apache License 2.0
129 stars 55 forks source link

GenericDatumWriter does not error if string not in list of symbols #79

Open irshusdock opened 8 years ago

irshusdock commented 8 years ago

The generic datums writeEnum method does not error if a passed string that is not in the list of symbols. It simply does not write the index, causing an error when decoding the data.