Hi

I use the Java SchemaBuilder and I define a code field ending up like this:
{"name":"code","type":["null","string"],"default":null}

Then I use the maven plugin to generate the pojo. However, in the generated
schema, this field is now:
{"name":"code","type":["null",{"type":"string","avro.java.string":"String"}],"default":null}

Is there a way to define it directly through the SchemaBuilder?

I tried adding prop but type is reserved, hence it doesn't work.

Thanks in advance

Best
joseph

Reply via email to