That would definitely help, I'll take a look at it!
I worked around it for the moment by creating a CustomEncoding that encodes
using Schema#toString() and decodes using Parser#parse(String). I then
annotated my Schema field
with @AvroEncode(using=SchemaAsStringEncoding.class).
-Joey
On Sat, Ju
Hey Joey,
Are you perhaps looking for https://issues.apache.org/jira/browse/AVRO-251?
On Sat, Jun 21, 2014 at 2:20 AM, Joey Echeverria wrote:
> Has anyone built an Avro RPC interface that includes a method that returns
> Avro Schema objects?
>
> I've built my protocol using the reflect APIs, but
Has anyone built an Avro RPC interface that includes a method that returns
Avro Schema objects?
I've built my protocol using the reflect APIs, but because Schema doesn't
have an empty constructor, I get a NoSuchMethodException when trying to
deserialize on the client.
-Joey