elodina / go-avro

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

Fix for reading generic data records. #12

Closed t15k closed 9 years ago

t15k commented 9 years ago

The API for specific records and generic records were not copatible, causing to generic data to simply be dropped. This commit returns the generic data, while ignoring the record passed in. Reading specific record continues to populate the passed record.

This solves the immediate issue or dropping data. The API is bit more clounky though.