Hi Xander,
On Wed, Aug 6, 2014 at 7:17 AM, Xander Uiterlinden <[email protected]>
wrote:
> {"name": "address", "type": ["test.model.Address", "null"] },
>
[snip]
> java.lang.ClassCastException: org.apache.avro.generic.GenericData$Record
> cannot be cast to graph.test.model.Address
>
why is the package name here now graph.test.model.Address?
> Am I not using the builder the way it's meant to be used, or did I run
> into a bug here ?
>
It looks like you are using the builder properly. I don't see any trouble
with that aspect of your code!
Lewis